BRL-CAD
bot_solidity.h
Go to the documentation of this file.
1 /* S O L I D I T Y . H
2  * BRL-CAD
3  *
4  * Copyright (c) 2014 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 /** @file libgcv/bot_solidity.h
21  *
22  * Functions for determining whether a BoT is solid.
23  *
24  */
25 
26 
27 #ifndef BOT_SOLIDITY_H
28 #define BOT_SOLIDITY_H
29 
30 
31 #include "common.h"
32 
33 #include "gcv.h"
34 #include "rtgeom.h"
35 
36 
38 
39 
40 /*
41  * Determines whether a BoT is solid.
42  * Equivalent to bot_is_closed_fan() && bot_is_orientable()
43  */
44 GCV_EXPORT int gcv_bot_is_solid(const struct rt_bot_internal *bot);
45 
46 GCV_EXPORT int gcv_bot_is_closed_fan(const struct rt_bot_internal *bot);
47 
48 GCV_EXPORT int gcv_bot_is_orientable(const struct rt_bot_internal *bot);
49 
50 
52 
53 
54 #endif
55 
56 
57 /*
58  * Local Variables:
59  * tab-width: 8
60  * mode: C
61  * indent-tabs-mode: t
62  * c-file-style: "stroustrup"
63  * End:
64  * ex: shiftwidth=4 tabstop=8
65  */
int gcv_bot_is_orientable(const struct rt_bot_internal *bot)
Definition: bot_solidity.c:175
Header file for the BRL-CAD common definitions.
#define __BEGIN_DECLS
Definition: common.h:73
int gcv_bot_is_solid(const struct rt_bot_internal *bot)
Definition: bot_solidity.c:103
int gcv_bot_is_closed_fan(const struct rt_bot_internal *bot)
Definition: bot_solidity.c:142
#define __END_DECLS
Definition: common.h:74