Developer Documentation
OVMOMCommonTriangleBSPTraits< Mesh, SpecificTraits > Class Template Reference
Inheritance diagram for OVMOMCommonTriangleBSPTraits< Mesh, SpecificTraits >:

Classes

struct  x_sort
 
struct  y_sort
 
struct  z_sort
 

Public Types

typedef SpecificTraits::Point Point
 
typedef SpecificTraits::Handle Handle
 
typedef Point::value_type Scalar
 
typedef std::vector< Handle > Handles
 
typedef Handles::iterator HandleIter
 
typedef TreeNode< SpecificTraits > Node
 

Public Member Functions

 OVMOMCommonTriangleBSPTraits (const Mesh &_mesh)
 
Scalar sqrdist (const Handle _h, const Point &_p) const
 
void calculateBoundingBox (Node *_node, Point &median, int &axis)
 
void calculateBoundingBoxRoot (Node *_node)
 

Detailed Description

template<class Mesh, class SpecificTraits>
class OVMOMCommonTriangleBSPTraits< Mesh, SpecificTraits >

Definition at line 76 of file TriangleBSPT.hh.

Member Function Documentation

◆ calculateBoundingBox()

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

todo: does this work with Points?!

Definition at line 96 of file TriangleBSPT.hh.


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