24 #ifndef RT_PRIMITIVES_BOT_H
25 #define RT_PRIMITIVES_BOT_H
41 struct clt_bot_specific {
49 struct clt_tri_specific {
72 struct clt_bot_specific clt_header;
73 struct clt_tri_specific *clt_triangles;
74 cl_double *clt_normals;
99 const size_t edge_list[],
100 const size_t edge_count0);
105 const struct bview *info);
109 const struct bn_tol *tol);
115 const char *property);
117 const struct bn_tol *tol);
121 const char *bot_name,
123 fastf_t normal_tolerance_angle);
140 const struct bn_tol *tol);
150 size_t tris_per_piece);
177 #define RT_BOT_REPAIR_INFO_INIT {0.0, 5.0};
Header file for the BRL-CAD common definitions.
struct rt_bot_internal * rt_bot_merge(size_t num_bots, const struct rt_bot_internal *const *bots)
int rt_bot_sync(struct rt_bot_internal *bot)
int rt_bot_repair(struct rt_bot_internal **obot, struct rt_bot_internal *ibot, struct rt_bot_repair_info *i)
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)
struct rt_bot_list * rt_bot_split(struct rt_bot_internal *bot)
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)
todo see if that ever gets and if it doesn t struct _triangle_s triangle_s
int rt_bot_sort_faces(struct rt_bot_internal *bot, size_t tris_per_piece)
struct rt_bot_internal * rt_bot_dup(const struct rt_bot_internal *bot)
struct rt_bot_internal * rt_bot_remove_faces(struct bu_ptbl *rm_face_indices, const struct rt_bot_internal *obot)
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)
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_plate_to_vol(struct rt_bot_internal **obot, struct rt_bot_internal *bot, int round_outer_edges, int quiet_mode)
int rt_bot_inside_out(struct rt_bot_internal *bot)
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_internal_free(struct rt_bot_internal *bot)
void rt_bot_list_free(struct rt_bot_list *headRblp, int fbflag)
struct rt_bot_list * rt_bot_patches(struct rt_bot_internal *bot)
int rt_bot_thin_check(struct bu_ptbl *ofaces, struct rt_bot_internal *bot, struct rt_i *rtip, fastf_t tol, int verbose)
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)
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_bot_tri_per_piece
size_t rt_bot_decimate_gct(struct rt_bot_internal *bot, fastf_t feature_size)
fastf_t vect_t[ELEMENTS_PER_VECT]
3-tuple vector
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
fastf_t max_hole_area_percent
fundamental vector, matrix, quaternion math macros