BRL-CAD
diff.h
Go to the documentation of this file.
1
/* D I F F . 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
/** @file analyze/diff.h */
25
26
#ifndef ANALYZE_DIFF_H
27
#define ANALYZE_DIFF_H
28
29
#include "
common.h
"
30
#include "
raytrace.h
"
31
32
#include "
analyze/defines.h
"
33
#include "
analyze/worker.h
"
34
35
__BEGIN_DECLS
36
37
struct
analyze_raydiff_results
{
38
struct
bu_ptbl
*
left
;
39
struct
bu_ptbl
*
right
;
40
struct
bu_ptbl
*
both
;
41
};
42
43
struct
diff_seg
{
44
point_t
in_pt
;
45
point_t
out_pt
;
46
struct
xray
ray
;
47
int
valid
;
48
};
49
50
ANALYZE_EXPORT
int
51
analyze_raydiff
(
struct
analyze_raydiff_results
**results,
struct
db_i
*dbip,
52
const
char
*left,
const
char
*right,
struct
bn_tol
*tol,
int
solidcheck);
53
54
ANALYZE_EXPORT
void
55
analyze_raydiff_results_free
(
struct
analyze_raydiff_results
*results);
56
57
__END_DECLS
58
59
#endif
/* ANALYZE_DIFF_H */
60
61
/** @} */
62
63
/*
64
* Local Variables:
65
* tab-width: 8
66
* mode: C
67
* indent-tabs-mode: t
68
* c-file-style: "stroustrup"
69
* End:
70
* ex: shiftwidth=4 tabstop=8
71
*/
defines.h
common.h
Header file for the BRL-CAD common definitions.
analyze_raydiff
int analyze_raydiff(struct analyze_raydiff_results **results, struct db_i *dbip, const char *left, const char *right, struct bn_tol *tol, int solidcheck)
analyze_raydiff_results_free
void analyze_raydiff_results_free(struct analyze_raydiff_results *results)
point_t
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
Definition:
vmath.h:351
raytrace.h
analyze_raydiff_results
Definition:
diff.h:37
analyze_raydiff_results::left
struct bu_ptbl * left
Definition:
diff.h:38
analyze_raydiff_results::right
struct bu_ptbl * right
Definition:
diff.h:39
analyze_raydiff_results::both
struct bu_ptbl * both
Definition:
diff.h:40
bn_tol
Definition:
tol.h:72
bu_ptbl
Definition:
ptbl.h:53
db_i
Definition:
db_instance.h:105
diff_seg
Definition:
diff.h:43
diff_seg::in_pt
point_t in_pt
Definition:
diff.h:44
diff_seg::out_pt
point_t out_pt
Definition:
diff.h:45
diff_seg::ray
struct xray ray
Definition:
diff.h:46
diff_seg::valid
int valid
Definition:
diff.h:47
xray
Primary ray data structure.
Definition:
xray.h:41
worker.h
include
analyze
diff.h
Generated on Tue Mar 7 2023 23:41:49 for BRL-CAD by
1.9.3