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

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

+ Collaboration diagram for moab::ScdElementData::VertexDataRef:

Public Member Functions

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

Private Attributes

HomCoord minmax [2]
 
HomXform xform
 
HomXform invXform
 
ScdVertexDatasrcSeq
 

Friends

class ScdElementData
 

Detailed Description

structure to hold references to bounding vertex blocks

Definition at line 47 of file ScdElementData.hpp.

Constructor & Destructor Documentation

◆ VertexDataRef()

moab::ScdElementData::VertexDataRef::VertexDataRef ( const HomCoord min,
const HomCoord max,
const HomXform tmp_xform,
ScdVertexData this_seq 
)
inline

Definition at line 281 of file ScdElementData.hpp.

285  : xform( tmp_xform ), invXform( tmp_xform.inverse() ), srcSeq( this_seq )
286 {
287  minmax[0] = HomCoord( this_min );
288  minmax[1] = HomCoord( this_max );
289 }

References minmax.

Member Function Documentation

◆ contains()

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

Definition at line 276 of file ScdElementData.hpp.

277 {
278  return ( minmax[0] <= coords && minmax[1] >= coords );
279 }

References minmax.

Friends And Related Function Documentation

◆ ScdElementData

friend class ScdElementData
friend

Definition at line 55 of file ScdElementData.hpp.

Member Data Documentation

◆ invXform

HomXform moab::ScdElementData::VertexDataRef::invXform
private

Definition at line 51 of file ScdElementData.hpp.

◆ minmax

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

Definition at line 50 of file ScdElementData.hpp.

Referenced by contains(), and VertexDataRef().

◆ srcSeq

ScdVertexData* moab::ScdElementData::VertexDataRef::srcSeq
private

Definition at line 52 of file ScdElementData.hpp.

◆ xform

HomXform moab::ScdElementData::VertexDataRef::xform
private

Definition at line 51 of file ScdElementData.hpp.


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