Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
moab::SweptElementData::VertexDataRef Class Reference

structure to hold references to bounding vertex blocks More...

+ Collaboration diagram for moab::SweptElementData::VertexDataRef:

Public Member Functions

 VertexDataRef (const HomCoord &min, const HomCoord &max, const HomXform &tmp_xform, SweptVertexData *this_seq)
 
bool contains (const HomCoord &coords) const
 

Private Attributes

HomCoord minmax [2]
 
HomXform xform
 
HomXform invXform
 
SweptVertexDatasrcSeq
 

Friends

class SweptElementData
 

Detailed Description

structure to hold references to bounding vertex blocks

Definition at line 47 of file SweptElementData.hpp.

Constructor & Destructor Documentation

◆ VertexDataRef()

moab::SweptElementData::VertexDataRef::VertexDataRef ( const HomCoord min,
const HomCoord max,
const HomXform tmp_xform,
SweptVertexData this_seq 
)
inline

Definition at line 237 of file SweptElementData.hpp.

241  : xform( tmp_xform ), invXform( tmp_xform.inverse() ), srcSeq( this_seq )
242 {
243  minmax[0] = HomCoord( this_min );
244  minmax[1] = HomCoord( this_max );
245 }

References minmax.

Member Function Documentation

◆ contains()

bool moab::SweptElementData::VertexDataRef::contains ( const HomCoord coords) const
inline

Definition at line 232 of file SweptElementData.hpp.

233 {
234  return ( minmax[0] <= coords && minmax[1] >= coords );
235 }

References minmax.

Friends And Related Function Documentation

◆ SweptElementData

friend class SweptElementData
friend

Definition at line 55 of file SweptElementData.hpp.

Member Data Documentation

◆ invXform

HomXform moab::SweptElementData::VertexDataRef::invXform
private

Definition at line 51 of file SweptElementData.hpp.

◆ minmax

HomCoord moab::SweptElementData::VertexDataRef::minmax[2]
private

Definition at line 50 of file SweptElementData.hpp.

Referenced by contains(), and VertexDataRef().

◆ srcSeq

SweptVertexData* moab::SweptElementData::VertexDataRef::srcSeq
private

Definition at line 52 of file SweptElementData.hpp.

◆ xform

HomXform moab::SweptElementData::VertexDataRef::xform
private

Definition at line 51 of file SweptElementData.hpp.


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