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

Go to the source code of this file.

Functions

HIDDEN ON_RevSurface * Torus_RevSurfaceForm (const ON_Torus &torus)
 
ON_BrepTorus_Brep (const ON_Torus &torus)
 
void rt_tor_brep (ON_Brep **b, const struct rt_db_internal *ip, const struct bn_tol *tol)
 

Detailed Description

Description - Convert torus to brep

Definition in file tor_brep.cpp.

Function Documentation

HIDDEN ON_RevSurface* Torus_RevSurfaceForm ( const ON_Torus &  torus)

Definition at line 51 of file tor_brep.cpp.

Referenced by Torus_Brep().

ON_Brep* Torus_Brep ( const ON_Torus &  torus)

Definition at line 84 of file tor_brep.cpp.

References Torus_RevSurfaceForm().

Referenced by rt_tor_brep().

Here is the call graph for this function:

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

Definition at line 113 of file tor_brep.cpp.

References rt_db_internal::idb_ptr, RT_CK_DB_INTERNAL, and Torus_Brep().

Here is the call graph for this function: