MOAB: Mesh Oriented datABase  (version 5.3.1)
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

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

Definition at line 220 of file SweptElementData.hpp.

References minmax.

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

Member Function Documentation

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

Definition at line 215 of file SweptElementData.hpp.

References minmax.

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

Friends And Related Function Documentation

friend class SweptElementData [friend]

Definition at line 55 of file SweptElementData.hpp.


Member Data Documentation

Definition at line 50 of file SweptElementData.hpp.

Referenced by contains(), and VertexDataRef().

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines