BRL-CAD
polygonize.h
Go to the documentation of this file.
1/* P O L Y G O N I Z E . H
2 * BRL-CAD
3 *
4 * Copyright (c) 2008-2023 United States Government as represented by
5 * the U.S. Army Research Laboratory.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public License
9 * version 2.1 as published by the Free Software Foundation.
10 *
11 * This library is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this file; see the file named COPYING for more
18 * information.
19 */
20/** @addtogroup libanalyze
21 *
22 *
23 */
24/** @{ */
25/** @file analyze/polygonize.h */
26
27#ifndef ANALYZE_POLYGONIZE_H
28#define ANALYZE_POLYGONIZE_H
29
30#include "common.h"
31
32#include <stdint.h>
33
34#include "raytrace.h"
35#include "analyze/defines.h"
36
37
38__BEGIN_DECLS
43};
44#define ANALYZE_POLYGONIZE_PARAMS_DEFAULT { 30, 150000000, 0 }
45ANALYZE_EXPORT extern int
46analyze_polygonize(int **faces, int *num_faces, point_t **vertices, int *num_vertices, fastf_t size, point_t p_s, const char *obj, struct db_i *dbip, struct analyze_polygonize_params *p);
47
48__END_DECLS
49
50#endif /* ANALYZE_POLYGONIZE_H */
51
52/** @} */
53
54/*
55 * Local Variables:
56 * tab-width: 8
57 * mode: C
58 * indent-tabs-mode: t
59 * c-file-style: "stroustrup"
60 * End:
61 * ex: shiftwidth=4 tabstop=8
62 */
Header file for the BRL-CAD common definitions.
void float float int int int int float * size
Definition: tig.h:132
int analyze_polygonize(int **faces, int *num_faces, point_t **vertices, int *num_vertices, fastf_t size, point_t p_s, const char *obj, struct db_i *dbip, struct analyze_polygonize_params *p)
double fastf_t
fastest 64-bit (or larger) floating point type
Definition: vmath.h:330
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
Definition: vmath.h:351