128#define NMG_PCA_EDGE 1
129#define NMG_PCA_EDGE_VERTEX 2
130#define NMG_PCA_VERTEX 3
151RT_EXPORT
extern int nmg_ray_segs(
struct ray_data *rd,
struct bu_list *vlfree);
153RT_EXPORT
extern int nmg_to_arb(
const struct model *m,
155RT_EXPORT
extern int nmg_to_tgc(
const struct model *m,
157 const struct bn_tol *tol);
158RT_EXPORT
extern int nmg_to_poly(
const struct model *m,
161 const struct bn_tol *tol);
164 const struct bn_tol *tol);
167 const struct bn_tol *tol);
177RT_EXPORT
extern int nmg_bool_eval_silent;
178RT_EXPORT
extern union tree *nmg_booltree_evaluate(
union tree *tp,
182RT_EXPORT
extern int nmg_boolean(
union tree *tp,
192RT_EXPORT
extern void nmg_triangulate_model_mc(
struct model *m,
193 const struct bn_tol *tol);
194RT_EXPORT
extern int nmg_mc_realize_cube(
struct shell *s,
197 const struct bn_tol *tol);
198RT_EXPORT
extern int nmg_mc_evaluate(
struct shell *s,
202 const struct bn_tol *tol);
206RT_EXPORT
extern void nmg_stash_model_to_file(
const char *filename,
207 const struct model *m,
Header file for the BRL-CAD common definitions.
fastf_t vect_t[ELEMENTS_PER_VECT]
3-tuple vector
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
Main header file for the BRL-CAD Non-Manifold Geometry Library, LIBNMG.
void rt_nmg_print_hitlist(struct bu_list *hd)
void(* nmg_plot_anim_upcall)(void)
void rt_isect_ray_model(struct ray_data *rd, struct bu_list *vlfree)
void rt_nmg_print_hitmiss(struct hitmiss *a_hit)
Information about where a ray hits the surface.
struct hitmiss * other
for keeping track of the other end of the segment when we know it
fastf_t dist_in_plane
distance from plane intersect
int start_stop
is this a seg_in or seg_out
int in_out
status of ray as it transitions this hit point.
struct bu_list rd_hit
list of hit elements
char * manifolds
structure 1-3manifold table
const struct bn_tol * tol
struct bu_list rd_miss
list of missed/sub-hit elements
fastf_t ray_dist_to_plane
ray parametric dist to plane
point_t plane_pt
ray/plane(face) intercept point
struct hitmiss ** hitmiss
1 struct hitmiss ptr per elem.
Primary ray data structure.
fundamental vector, matrix, quaternion math macros