Back to index

salome-med  6.5.0
Public Member Functions | Private Attributes
INTERP_KERNEL::ElementBBoxOrder Class Reference

Class defining an order for MeshElements based on their bounding boxes. More...

#include <MeshElement.hxx>

List of all members.

Public Member Functions

 ElementBBoxOrder (BoundingBox::BoxCoord coord)
 ElementBBoxOrder ///////////// //////////////////////////////////////////////////////////////////.
template<class ConnType >
bool operator() (MeshElement< ConnType > *elem1, MeshElement< ConnType > *elem2)

Private Attributes

BoundingBox::BoxCoord _coord
 BoundingBox coordinate (XMIN, XMAX, etc) on which to base the ordering.

Detailed Description

Class defining an order for MeshElements based on their bounding boxes.

The order defined between two elements is that between a given coordinate of their bounding boxes. For instance, if the order is based on YMIN, an element whose boxes has a smaller YMIN is sorted before one with a larger YMIN.

Definition at line 72 of file MeshElement.hxx.


Constructor & Destructor Documentation

INTERP_KERNEL::ElementBBoxOrder::ElementBBoxOrder ( BoundingBox::BoxCoord  coord)

ElementBBoxOrder ///////////// //////////////////////////////////////////////////////////////////.

Constructor

Parameters:
coordBoundingBox coordinate (XMIN, XMAX, etc) on which to base the ordering

Definition at line 32 of file MeshElement.cxx.

    : _coord(coord)
  {
  }

Member Function Documentation

template<class ConnType >
bool INTERP_KERNEL::ElementBBoxOrder::operator() ( MeshElement< ConnType > *  elem1,
MeshElement< ConnType > *  elem2 
)

Member Data Documentation

BoundingBox::BoxCoord INTERP_KERNEL::ElementBBoxOrder::_coord [private]

BoundingBox coordinate (XMIN, XMAX, etc) on which to base the ordering.

Definition at line 82 of file MeshElement.hxx.


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