Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
moab::BSPTreePoly::Vertex Struct Reference
+ Inheritance diagram for moab::BSPTreePoly::Vertex:
+ Collaboration diagram for moab::BSPTreePoly::Vertex:

Public Member Functions

 Vertex (const CartVect &v)
 
 ~Vertex ()
 
- Public Member Functions inherited from moab::CartVect
 CartVect ()
 
 CartVect (double v)
 
 CartVect (double i, double j, double k)
 
 CartVect (const double a[3])
 
CartVectoperator= (const double v[3])
 
double & operator[] (unsigned i)
 
double operator[] (unsigned i) const
 
CartVectoperator+= (const CartVect &v)
 
CartVectoperator-= (const CartVect &v)
 
CartVectoperator*= (const CartVect &v)
 
CartVectoperator+= (double s)
 
CartVectoperator-= (double s)
 
CartVectoperator*= (double s)
 
CartVectoperator/= (double s)
 
bool operator== (const CartVect &v) const
 
bool operator== (double val) const
 
double length () const
 vector length More...
 
double length_squared () const
 
void normalize ()
 make unit length, or 0 if length < DBL_MIN More...
 
void flip ()
 flip direction More...
 
void scale (const CartVect &v)
 
double * array ()
 
const double * array () const
 
void get (double v[3]) const
 
void get (float v[3]) const
 

Public Attributes

BSPTreePoly::VertexUseusePtr
 
int markVal
 

Detailed Description

Definition at line 12 of file BSPTreePoly.cpp.

Constructor & Destructor Documentation

◆ Vertex()

moab::BSPTreePoly::Vertex::Vertex ( const CartVect v)
inline

Definition at line 14 of file BSPTreePoly.cpp.

15  : CartVect( v ), usePtr( 0 ), markVal( 0 )
16 #ifdef DEBUG_IDS
17  ,
18  id( nextID++ )
19 #endif
20  {
21  }

◆ ~Vertex()

moab::BSPTreePoly::Vertex::~Vertex ( )
inline

Definition at line 22 of file BSPTreePoly.cpp.

23  {
24  assert( !usePtr );
25  }

References usePtr.

Member Data Documentation

◆ markVal

int moab::BSPTreePoly::Vertex::markVal

Definition at line 27 of file BSPTreePoly.cpp.

Referenced by moab::BSPTreePoly::cut_polyhedron().

◆ usePtr


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