BRL-CAD
#include "common.h"
#include "vmath.h"
#include "bu/ptbl.h"
#include "bn/tol.h"
#include "nmg.h"
#include "rt/geom.h"
#include "rt/defines.h"
#include "rt/tol.h"
#include "rt/view.h"
#include "rt/soltab.h"
Include dependency graph for bot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bot_specific
 
struct  _triangle_s
 
struct  rt_bot_repair_info
 

Macros

#define RT_BOT_REPAIR_INFO_INIT   {0.0, 5.0};
 

Typedefs

typedef todo see if that ever gets and if it doesn t struct _triangle_s triangle_s
 

Functions

size_t rt_bot_get_edge_list (const struct rt_bot_internal *bot, size_t **edge_list)
 
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_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_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)
 
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)
 
fastf_t rt_bot_propget (struct rt_bot_internal *bot, const char *property)
 
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_condense (struct rt_bot_internal *bot)
 
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_flip (struct rt_bot_internal *bot)
 
int rt_bot_sync (struct rt_bot_internal *bot)
 
struct rt_bot_listrt_bot_split (struct rt_bot_internal *bot)
 
struct rt_bot_listrt_bot_patches (struct rt_bot_internal *bot)
 
void rt_bot_list_free (struct rt_bot_list *headRblp, int fbflag)
 
void rt_bot_internal_free (struct rt_bot_internal *bot)
 
int rt_bot_same_orientation (const int *a, const int *b)
 
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)
 
struct rt_bot_internalrt_bot_merge (size_t num_bots, const struct rt_bot_internal *const *bots)
 
int rt_bot_sort_faces (struct rt_bot_internal *bot, size_t tris_per_piece)
 
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_decimate_gct (struct rt_bot_internal *bot, fastf_t feature_size)
 
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_repair (struct rt_bot_internal **obot, struct rt_bot_internal *ibot, struct rt_bot_repair_info *i)
 
int rt_bot_inside_out (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)
 
struct rt_bot_internalrt_bot_remove_faces (struct bu_ptbl *rm_face_indices, const struct rt_bot_internal *obot)
 
struct rt_bot_internalrt_bot_dup (const struct rt_bot_internal *bot)
 

Variables

todo see if that ever gets serialized
 
size_t rt_bot_minpieces
 
size_t rt_bot_tri_per_piece