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-2024 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
41  int max_time;
44  int verbosity;
45 };
46 #define ANALYZE_POLYGONIZE_PARAMS_DEFAULT { 0, 0, 30, 150000000, 0 }
47 ANALYZE_EXPORT extern int
48 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);
49 
50 __END_DECLS
51 
52 #endif /* ANALYZE_POLYGONIZE_H */
53 
54 /** @} */
55 
56 /*
57  * Local Variables:
58  * tab-width: 8
59  * mode: C
60  * indent-tabs-mode: t
61  * c-file-style: "stroustrup"
62  * End:
63  * ex: shiftwidth=4 tabstop=8
64  */
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:334
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
Definition: vmath.h:355