BRL-CAD
analyze.h
Go to the documentation of this file.
1/* A N A L Y 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 ged_analyze
21 *
22 * Geometry EDiting Library Database Analysis Related Functions.
23 *
24 */
25/** @{ */
26/** @file ged/analyze.h */
27
28#ifndef GED_ANALYZE_H
29#define GED_ANALYZE_H
30
31#include "common.h"
32#include "ged/defines.h"
33
34__BEGIN_DECLS
35
36
37/**
38 * Returns lots of information about the specified object(s)
39 */
40GED_EXPORT extern int ged_analyze(struct ged *gedp, int argc, const char *argv[]);
41
42
43/**
44 * Report the size of the bounding box (rpp) around the specified object
45 */
46GED_EXPORT extern int ged_bb(struct ged *gedp, int argc, const char *argv[]);
47
48/**
49 * Analyzes the geometry
50 */
51GED_EXPORT extern int ged_check(struct ged *gedp, int argc, const char *argv[]);
52
53/**
54 * Calculate a geometry diff
55 */
56GED_EXPORT extern int ged_gdiff(struct ged *gedp, int argc, const char *argv[]);
57
58/**
59 * General quantitative analyzer
60 */
61GED_EXPORT extern int ged_gqa(struct ged *gedp, int argc, const char *argv[]);
62
63/**
64 * Trace a single ray from the current view.
65 */
66GED_EXPORT extern int ged_nirt(struct ged *gedp, int argc, const char *argv[]);
67GED_EXPORT extern int ged_vnirt(struct ged *gedp, int argc, const char *argv[]);
68
69/**
70 * Get/set query_ray attributes
71 */
72GED_EXPORT extern int ged_qray(struct ged *gedp, int argc, const char *argv[]);
73
74GED_EXPORT extern void ged_init_qray(struct ged_drawable *gdp);
75GED_EXPORT extern void ged_free_qray(struct ged_drawable *gdp);
76
77/**
78 * Check for overlaps in the current view.
79 */
80GED_EXPORT extern int ged_rtcheck(struct ged *gedp, int argc, const char *argv[]);
81
82/**
83 * Performs simulations.
84 */
85GED_EXPORT extern int ged_simulate(struct ged *gedp, int argc, const char *argv[]);
86
87GED_EXPORT extern int ged_solids_on_ray(struct ged *gedp, int argc, const char *argv[]);
88
89
90
91__END_DECLS
92
93#endif /* GED_ANALYZE_H */
94
95/** @} */
96
97/*
98 * Local Variables:
99 * tab-width: 8
100 * mode: C
101 * indent-tabs-mode: t
102 * c-file-style: "stroustrup"
103 * End:
104 * ex: shiftwidth=4 tabstop=8
105 */
Header file for the BRL-CAD common definitions.
int ged_analyze(struct ged *gedp, int argc, const char *argv[])
int ged_qray(struct ged *gedp, int argc, const char *argv[])
void ged_init_qray(struct ged_drawable *gdp)
int ged_gqa(struct ged *gedp, int argc, const char *argv[])
int ged_bb(struct ged *gedp, int argc, const char *argv[])
void ged_free_qray(struct ged_drawable *gdp)
int ged_gdiff(struct ged *gedp, int argc, const char *argv[])
int ged_solids_on_ray(struct ged *gedp, int argc, const char *argv[])
int ged_check(struct ged *gedp, int argc, const char *argv[])
int ged_simulate(struct ged *gedp, int argc, const char *argv[])
int ged_nirt(struct ged *gedp, int argc, const char *argv[])
int ged_rtcheck(struct ged *gedp, int argc, const char *argv[])
int ged_vnirt(struct ged *gedp, int argc, const char *argv[])
Definition: defines.h:195