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
39
struct
analyze_polygonize_params
{
40
int
max_time
;
41
size_t
minimum_free_mem
;
42
int
verbosity
;
43
};
44
#define ANALYZE_POLYGONIZE_PARAMS_DEFAULT { 30, 150000000, 0 }
45
ANALYZE_EXPORT
extern
int
46
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);
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
*/
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:39
analyze_polygonize_params::verbosity
int verbosity
Definition:
polygonize.h:42
analyze_polygonize_params::max_time
int max_time
Definition:
polygonize.h:40
analyze_polygonize_params::minimum_free_mem
size_t minimum_free_mem
Definition:
polygonize.h:41
db_i
Definition:
db_instance.h:105
include
analyze
polygonize.h
Generated on Tue Mar 7 2023 23:41:49 for BRL-CAD by
1.9.3