BRL-CAD
Boundary Representation (NURBS)
Collaboration diagram for Boundary Representation (NURBS):

Files

file  brep.h
 

Data Structures

struct  rt_brep_internal
 

Macros

#define RT_BREP_CK_MAGIC(_p)   BU_CKMAG(_p, RT_BREP_INTERNAL_MAGIC, "rt_brep_internal");
 
#define RT_BREP_TEST_MAGIC(_p)   ((_p) && (*((uint32_t *)(_p)) == (uint32_t)(RT_BREP_INTERNAL_MAGIC)))
 
#define RT_BREP_OPENNURBS   0x1
 OpenNURBS tests (default) More...
 
#define RT_BREP_UV_PARAM   0x2
 sanity checks for UV parameterization bounds More...
 
#define RT_BREP_EDGE_CRACK   0x4
 check for trim geometry at edges that isn't closely aligned More...
 

Functions

int rt_brep_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_brep_plot_poly (struct bu_list *vhead, const struct db_full_path *pathp, struct rt_db_internal *ip, const struct bg_tess_tol *ttol, const struct bn_tol *tol, const struct bview *info)
 
int rt_brep_valid (struct bu_vls *log, struct rt_db_internal *ip, int flags)
 
int rt_brep_normalize (struct rt_db_internal *ip, double pmax)
 
int rt_brep_plate_mode (const struct rt_db_internal *ip)
 
void rt_brep_plate_mode_getvals (double *pthickness, int *nocos, const struct rt_db_internal *ip)
 

Detailed Description

Macro Definition Documentation

◆ RT_BREP_CK_MAGIC

#define RT_BREP_CK_MAGIC (   _p)    BU_CKMAG(_p, RT_BREP_INTERNAL_MAGIC, "rt_brep_internal");

Definition at line 304 of file geom.h.

◆ RT_BREP_TEST_MAGIC

#define RT_BREP_TEST_MAGIC (   _p)    ((_p) && (*((uint32_t *)(_p)) == (uint32_t)(RT_BREP_INTERNAL_MAGIC)))

Definition at line 305 of file geom.h.

◆ RT_BREP_OPENNURBS

#define RT_BREP_OPENNURBS   0x1

OpenNURBS tests (default)

Definition at line 49 of file brep.h.

◆ RT_BREP_UV_PARAM

#define RT_BREP_UV_PARAM   0x2

sanity checks for UV parameterization bounds

Definition at line 50 of file brep.h.

◆ RT_BREP_EDGE_CRACK

#define RT_BREP_EDGE_CRACK   0x4

check for trim geometry at edges that isn't closely aligned

Definition at line 51 of file brep.h.

Function Documentation

◆ rt_brep_plot()

int rt_brep_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 
)

◆ rt_brep_plot_poly()

int rt_brep_plot_poly ( struct bu_list vhead,
const struct db_full_path pathp,
struct rt_db_internal ip,
const struct bg_tess_tol ttol,
const struct bn_tol tol,
const struct bview info 
)

◆ rt_brep_valid()

int rt_brep_valid ( struct bu_vls log,
struct rt_db_internal ip,
int  flags 
)

◆ rt_brep_normalize()

int rt_brep_normalize ( struct rt_db_internal ip,
double  pmax 
)

◆ rt_brep_plate_mode()

int rt_brep_plate_mode ( const struct rt_db_internal ip)

◆ rt_brep_plate_mode_getvals()

void rt_brep_plate_mode_getvals ( double *  pthickness,
int *  nocos,
const struct rt_db_internal ip 
)