Back to index

salome-med  6.5.0
Public Member Functions | Private Member Functions | Private Attributes
INTERP_KERNEL::MeshElement< ConnType > Class Template Reference

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

#include <MeshElement.hxx>

List of all members.

Public Member Functions

template<class MyMeshType >
 MeshElement (const ConnType index, const MyMeshType &mesh)
 ~MeshElement ()
ConnType getIndex () const
unsigned char getNumberOfNodes () const
const BoundingBox * getBoundingBox () 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)

Definition at line 34 of file MeshElement.hxx.


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>
const BoundingBox* INTERP_KERNEL::MeshElement< ConnType >::getBoundingBox ( ) const [inline]

Definition at line 47 of file MeshElement.hxx.

{ return _box; }
template<class ConnType>
ConnType INTERP_KERNEL::MeshElement< ConnType >::getIndex ( ) const [inline]

Definition at line 43 of file MeshElement.hxx.

{ return _index; }
template<class ConnType>
unsigned char INTERP_KERNEL::MeshElement< ConnType >::getNumberOfNodes ( ) const [inline]

Definition at line 45 of file MeshElement.hxx.

{ return _number; }
template<class ConnType>
MeshElement& INTERP_KERNEL::MeshElement< ConnType >::operator= ( const MeshElement< ConnType > &  elem) [private]

disallow assignment


Member Data Documentation

template<class ConnType>
BoundingBox* INTERP_KERNEL::MeshElement< ConnType >::_box [private]

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

Definition at line 62 of file MeshElement.hxx.

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

global number of the element

Definition at line 57 of file MeshElement.hxx.

template<class ConnType>
const unsigned char INTERP_KERNEL::MeshElement< ConnType >::_number [private]

Definition at line 59 of file MeshElement.hxx.


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