24#ifndef RT_PRIMITIVES_BOT_H
25#define RT_PRIMITIVES_BOT_H
39struct clt_bot_specific {
47struct clt_tri_specific {
70 struct clt_bot_specific clt_header;
71 struct clt_tri_specific *clt_triangles;
72 cl_double *clt_normals;
95 const size_t edge_list[],
96 const size_t edge_count0);
101 const struct bview *info);
105 const struct bn_tol *tol);
111 const char *property);
113 const struct bn_tol *tol);
117 const char *bot_name,
119 fastf_t normal_tolerance_angle);
134 const struct bn_tol *tol);
144 size_t tris_per_piece);
Header file for the BRL-CAD common definitions.
void rt_bot_prep_pieces(struct bot_specific *bot, struct soltab *stp, size_t ntri, const struct bn_tol *tol)
int rt_bot_sync(struct rt_bot_internal *bot)
fastf_t rt_bot_propget(struct rt_bot_internal *bot, const char *property)
int rt_bot_edge_in_list(const size_t v1, const size_t v2, const size_t edge_list[], const size_t edge_count0)
int rt_bot_decimate(struct rt_bot_internal *bot, fastf_t max_chord_error, fastf_t max_normal_error, fastf_t min_edge_length)
size_t rt_bot_get_edge_list(const struct rt_bot_internal *bot, size_t **edge_list)
int rt_bot_tess(struct nmgregion **r, struct model *m, struct rt_db_internal *ip, const struct bg_tess_tol *ttol, const struct bn_tol *tol)
int rt_bot_sort_faces(struct rt_bot_internal *bot, size_t tris_per_piece)
int rt_bot_smooth(struct rt_bot_internal *bot, const char *bot_name, struct db_i *dbip, fastf_t normal_tolerance_angle)
int rt_bot_condense(struct rt_bot_internal *bot)
struct rt_bot_internal * rt_bot_merge(size_t num_bots, const struct rt_bot_internal *const *bots)
int rt_bot_flip(struct rt_bot_internal *bot)
int rt_bot_plot(struct bu_list *vhead, struct rt_db_internal *ip, const struct bg_tess_tol *ttol, const struct bn_tol *tol, const struct bview *info)
int rt_bot_find_e_nearest_pt2(int *vert1, int *vert2, const struct rt_bot_internal *bot, const point_t pt2, const mat_t mat)
void rt_bot_list_free(struct rt_bot_list *headRblp, int fbflag)
struct rt_bot_list * rt_bot_split(struct rt_bot_internal *bot)
int rt_bot_vertex_fuse(struct rt_bot_internal *bot, const struct bn_tol *tol)
int rt_bot_face_fuse(struct rt_bot_internal *bot)
int rt_bot_same_orientation(const int *a, const int *b)
struct rt_bot_list * rt_bot_patches(struct rt_bot_internal *bot)
int rt_bot_plot_poly(struct bu_list *vhead, struct rt_db_internal *ip, const struct bg_tess_tol *ttol, const struct bn_tol *tol)
int rt_bot_find_v_nearest_pt2(const struct rt_bot_internal *bot, const point_t pt2, const mat_t mat)
size_t rt_botface(struct soltab *stp, struct bot_specific *bot, fastf_t *ap, fastf_t *bp, fastf_t *cp, size_t face_no, const struct bn_tol *tol)
size_t rt_bot_tri_per_piece
size_t rt_bot_decimate_gct(struct rt_bot_internal *bot, fastf_t feature_size)
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t mat_t[ELEMENTS_PER_MAT]
4x4 matrix
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
unsigned char bot_orientation
struct bu_bitv * bot_facemode
struct rt_bot_internal * bot
fundamental vector, matrix, quaternion math macros