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-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 /** @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 
38  struct bu_ptbl *left;
39  struct bu_ptbl *right;
40  struct bu_ptbl *both;
41 };
42 
43 struct diff_seg {
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
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  */
Header file for the BRL-CAD common definitions.
int analyze_raydiff(struct analyze_raydiff_results **results, struct db_i *dbip, const char *left, const char *right, struct bn_tol *tol, int solidcheck)
void analyze_raydiff_results_free(struct analyze_raydiff_results *results)
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
Definition: vmath.h:355
struct bu_ptbl * left
Definition: diff.h:38
struct bu_ptbl * right
Definition: diff.h:39
struct bu_ptbl * both
Definition: diff.h:40
Definition: tol.h:72
Definition: ptbl.h:53
Definition: diff.h:43
point_t in_pt
Definition: diff.h:44
point_t out_pt
Definition: diff.h:45
struct xray ray
Definition: diff.h:46
int valid
Definition: diff.h:47
Primary ray data structure.
Definition: xray.h:41