BRL-CAD
tor.h
Go to the documentation of this file.
1/* T O R . H
2 * BRL-CAD
3 *
4 * Copyright (c) 1993-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 rt_tor */
21/** @{ */
22/** @file rt/primitives/tor.h */
23
24#ifndef RT_PRIMITIVES_TOR_H
25#define RT_PRIMITIVES_TOR_H
26
27#include "common.h"
28#include "rt/defines.h"
29
30__BEGIN_DECLS
31
32RT_EXPORT extern int rt_num_circular_segments(double maxerr,
33 double radius);
34
35__END_DECLS
36
37/** @} */
38
39#endif /* RT_PRIMITIVES_TOR_H */
40
41/*
42 * Local Variables:
43 * tab-width: 8
44 * mode: C
45 * indent-tabs-mode: t
46 * c-file-style: "stroustrup"
47 * End:
48 * ex: shiftwidth=4 tabstop=8
49 */
Header file for the BRL-CAD common definitions.
int rt_num_circular_segments(double maxerr, double radius)