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

Go to the source code of this file.

Functions

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

Detailed Description

Convert a Superquadratic Ellipsoid to b-rep form

Definition in file superell_brep.cpp.

Function Documentation

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

Referenced by rt_superell_brep().

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

Definition at line 37 of file superell_brep.cpp.

References bn_mat_mul(), bn_mat_trn(), BU_ALLOC, bu_log(), ID_ELL, rt_db_internal::idb_major_type, rt_db_internal::idb_meth, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, OBJ, R, RT_CK_DB_INTERNAL, RT_DB_INTERNAL_INIT, rt_ell_brep(), and RT_ELL_INTERNAL_MAGIC.

Here is the call graph for this function: