Version: 5.1.6

INTERP_KERNEL.MeshElement< ConnType > Class Template Reference

Class representing a single element of a mesh together with its bounding box. More...

#include <MeshElement.hxx>

Public Member Functions

template<class MyMeshType >
 MeshElement (const ConnType index, const MyMeshType &mesh)
 ~MeshElement ()
ConnType getIndex () const
unsigned char getNumberOfNodes () const
const BoundingBoxgetBoundingBox () const

Private Member Functions

 MeshElement (const MeshElement &elem)
 disallow copying
MeshElementoperator= (const MeshElement &elem)
 disallow assignment

Private Attributes

const ConnType _index
 global number of the element
const unsigned char _number
BoundingBox_box
 bounding box of the element - does not change after having been initialised

Detailed Description

template<class ConnType>
class INTERP_KERNEL::MeshElement< ConnType >

Class representing a single element of a mesh together with its bounding box.

It gives access to the element's global number, type and bounding box and allows easy bounding box intersection tests between MeshElements and collections of MeshElement (MeshRegions)


Constructor & Destructor Documentation

template<class ConnType>
template<class MyMeshType >
INTERP_KERNEL.MeshElement< ConnType >.MeshElement ( const ConnType  index,
const MyMeshType &  mesh 
)
template<class ConnType>
INTERP_KERNEL.MeshElement< ConnType >.~MeshElement (  ) 
template<class ConnType>
INTERP_KERNEL.MeshElement< ConnType >.MeshElement ( const MeshElement< ConnType > &  elem  )  [private]

disallow copying


Member Function Documentation

template<class ConnType>
ConnType INTERP_KERNEL.MeshElement< ConnType >.getIndex (  )  const
template<class ConnType>
unsigned char INTERP_KERNEL.MeshElement< ConnType >.getNumberOfNodes (  )  const
template<class ConnType>
const BoundingBox* INTERP_KERNEL.MeshElement< ConnType >.getBoundingBox (  )  const
template<class ConnType>
MeshElement& INTERP_KERNEL.MeshElement< ConnType >.operator= ( const MeshElement< ConnType > &  elem  )  [private]

disallow assignment


Field Documentation

template<class ConnType>
const ConnType INTERP_KERNEL.MeshElement< ConnType >._index [private]

global number of the element

template<class ConnType>
const unsigned char INTERP_KERNEL.MeshElement< ConnType >._number [private]
template<class ConnType>
BoundingBox* INTERP_KERNEL.MeshElement< ConnType >._box [private]

bounding box of the element - does not change after having been initialised