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

Go to the source code of this file.

Functions

void rt_sketch_brep (ON_Brep **bi, struct rt_db_internal *ip, const struct bn_tol *tol)
 
void FindLoops (ON_Brep **b, const ON_Line *revaxis, const fastf_t ang)
 
void rt_revolve_brep (ON_Brep **b, const struct rt_db_internal *ip, const struct bn_tol *tol)
 

Detailed Description

Convert a Revolved Sketch to b-rep form

Definition in file revolve_brep.cpp.

Function Documentation

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

Referenced by rt_revolve_brep().

void FindLoops ( ON_Brep **  b,
const ON_Line *  revaxis,
const fastf_t  ang 
)

Definition at line 38 of file revolve_brep.cpp.

References bu_free(), bu_malloc(), NEAR_ZERO, and VSET.

Referenced by rt_revolve_brep().

Here is the call graph for this function:

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

Definition at line 145 of file revolve_brep.cpp.

References bn_mat_inv(), bn_mat_mul4(), BU_ALLOC, bu_free(), bu_log(), C, CURVE_BEZIER_MAGIC, CURVE_CARC_MAGIC, CURVE_LSEG_MAGIC, FindLoops(), rt_db_internal::idb_ptr, R, RT_DB_INTERNAL_INIT, rt_sketch_brep(), OSL::Strings::u, OSL::Strings::v, and VSET.

Here is the call graph for this function: