Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
OpenMeshTriangleBSPTraits< Mesh > Class Template Reference

Classes

struct  x_sort
 
struct  y_sort
 
struct  z_sort
 

Public Types

typedef Mesh::Scalar Scalar
 
typedef Mesh::Point Point
 
typedef Mesh::FaceHandle Handle
 
typedef std::vector< Handle > Handles
 
typedef Handles::iterator HandleIter
 
typedef TreeNode< MeshNode
 

Public Member Functions

 OpenMeshTriangleBSPTraits (const Mesh &_mesh)
 
void points (const Handle _h, Point &_p0, Point &_p1, Point &_p2) const
 Returns the points belonging to the face handle _h.
 
Scalar sqrdist (const Handle _h, const Point &_p) const
 
void calculateBoundingBox (Node *_node, Point &median, int &axis)
 
void calculateBoundingBoxRoot (Node *_node)
 

Private Attributes

const Meshmesh_
 

Detailed Description

template<class Mesh>
class OpenMeshTriangleBSPTraits< Mesh >

Definition at line 85 of file TriangleBSPT.hh.

Member Function Documentation

template<class Mesh>
void OpenMeshTriangleBSPTraits< Mesh >::calculateBoundingBox ( Node _node,
Point &  median,
int &  axis 
)
inline

todo: does this work with Points?!

Definition at line 116 of file TriangleBSPT.hh.


The documentation for this class was generated from the following file: