BRL-CAD
metaball.h
Go to the documentation of this file.
1 /* M E T A B A L L . H
2  * BRL-CAD
3  *
4  * Copyright (c) 1985-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 
21 #ifndef LIBRT_PRIMITIVES_METABALL_METABALL_H
22 #define LIBRT_PRIMITIVES_METABALL_METABALL_H
23 
24 int rt_metaball_bbox(struct rt_db_internal *ip, point_t *min, point_t *max, const struct bn_tol *tol);
25 fastf_t rt_metaball_get_bounding_sphere(point_t *center, fastf_t threshold, struct rt_metaball_internal *mb);
26 int rt_metaball_find_intersection(point_t *intersect, const struct rt_metaball_internal *mb, const point_t *a, const point_t *b, fastf_t step, const fastf_t finalstep);
27 void rt_metaball_norm_internal(vect_t *n, point_t *p, struct rt_metaball_internal *mb);
28 
29 #endif /* LIBRT_PRIMITIVES_METABALL_METABALL_H */
30 
31 /*
32  * Local Variables:
33  * mode: C
34  * tab-width: 8
35  * indent-tabs-mode: t
36  * c-file-style: "stroustrup"
37  * End:
38  * ex: shiftwidth=4 tabstop=8
39  */
void rt_metaball_norm_internal(vect_t *n, point_t *p, struct rt_metaball_internal *mb)
Definition: metaball.c:503
fastf_t rt_metaball_get_bounding_sphere(point_t *center, fastf_t threshold, struct rt_metaball_internal *mb)
Definition: metaball.c:100
Support for uniform tolerances.
Definition: tol.h:71
int rt_metaball_find_intersection(point_t *intersect, const struct rt_metaball_internal *mb, const point_t *a, const point_t *b, fastf_t step, const fastf_t finalstep)
Definition: metaball.c:345
int rt_metaball_bbox(struct rt_db_internal *ip, point_t *min, point_t *max, const struct bn_tol *tol)
Definition: metaball.c:165
double fastf_t
Definition: defines.h:300