BRL-CAD
arb8_brep.cpp File Reference
#include "common.h"
#include "raytrace.h"
#include "rtgeom.h"
#include "nmg.h"
#include "brep.h"
Include dependency graph for arb8_brep.cpp:

Go to the source code of this file.

Functions

void rt_arb_tess (struct nmgregion **r, struct model *m, struct rt_db_internal *ip, const struct rt_tess_tol *ttol, const struct bn_tol *tol)
 
void rt_nmg_brep (ON_Brep **bi, struct rt_db_internal *ip, const struct bn_tol *tol)
 
void rt_arb_brep (ON_Brep **b, const struct rt_db_internal *ip, const struct bn_tol *tol)
 

Detailed Description

Convert an Arbitrary Regular Polyhedron with as many as 8 vertices to b-rep form

Definition in file arb8_brep.cpp.

Function Documentation

void rt_nmg_brep ( ON_Brep **  bi,
struct rt_db_internal ip,
const struct bn_tol tol 
)

Referenced by rt_arb_brep().

void rt_arb_brep ( ON_Brep **  b,
const struct rt_db_internal ip,
const struct bn_tol tol 
)

Definition at line 41 of file arb8_brep.cpp.

References rt_tess_tol::abs, BU_ALLOC, bu_free(), rt_db_internal::idb_ptr, nmg_mm(), rt_tess_tol::norm, rt_tess_tol::rel, rt_arb_tess(), RT_DB_INTERNAL_INIT, and rt_nmg_brep().

Here is the call graph for this function: