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-2022 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
#include "
raytrace.h
"
32
33
#include "
analyze/defines.h
"
34
35
__BEGIN_DECLS
36
struct
analyze_polygonize_params
{
37
int
max_time
;
38
long
int
minimum_free_mem
;
39
int
verbosity
;
40
};
41
#define ANALYZE_POLYGONIZE_PARAMS_DEFAULT { 30, 150000000, 0 }
42
ANALYZE_EXPORT
extern
int
43
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);
44
45
__END_DECLS
46
47
#endif
/* ANALYZE_POLYGONIZE_H */
48
49
/** @} */
50
51
/*
52
* Local Variables:
53
* tab-width: 8
54
* mode: C
55
* indent-tabs-mode: t
56
* c-file-style: "stroustrup"
57
* End:
58
* ex: shiftwidth=4 tabstop=8
59
*/
defines.h
common.h
Header file for the BRL-CAD common definitions.
size
void float float int int int int float * size
Definition:
tig.h:132
analyze_polygonize
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)
fastf_t
double fastf_t
fastest 64-bit (or larger) floating point type
Definition:
vmath.h:330
point_t
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
Definition:
vmath.h:351
raytrace.h
analyze_polygonize_params
Definition:
polygonize.h:36
analyze_polygonize_params::verbosity
int verbosity
Definition:
polygonize.h:39
analyze_polygonize_params::max_time
int max_time
Definition:
polygonize.h:37
analyze_polygonize_params::minimum_free_mem
long int minimum_free_mem
Definition:
polygonize.h:38
db_i
Definition:
db_instance.h:103
include
analyze
polygonize.h
Generated on Fri Mar 18 2022 14:34:08 for BRL-CAD by
1.9.3