MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <CellSets.h>
Public Member Functions | |
CellSet (smoab::EntityHandle p, const smoab::Range &cells) | |
const smoab::Range & | cells () const |
EntityHandle | entity () const |
bool | contains (smoab::EntityHandle c) const |
void | erase (smoab::Range cells) |
Private Attributes | |
smoab::EntityHandle | Entity |
smoab::Range | Cells |
Definition at line 9 of file CellSets.h.
smoab::CellSet::CellSet | ( | smoab::EntityHandle | p, |
const smoab::Range & | cells | ||
) | [inline] |
Definition at line 12 of file CellSets.h.
const smoab::Range& smoab::CellSet::cells | ( | ) | const [inline] |
bool smoab::CellSet::contains | ( | smoab::EntityHandle | c | ) | const [inline] |
Definition at line 23 of file CellSets.h.
References Cells, moab::Range::end(), and moab::Range::find().
EntityHandle smoab::CellSet::entity | ( | ) | const [inline] |
void smoab::CellSet::erase | ( | smoab::Range | cells | ) | [inline] |
Definition at line 28 of file CellSets.h.
References Cells, and moab::subtract().
{ //seems that erase() has a bug, so use subtract this->Cells = smoab::subtract( this->Cells, cells ); }
smoab::Range smoab::CellSet::Cells [private] |
Definition at line 36 of file CellSets.h.
Referenced by cells(), contains(), and erase().
smoab::EntityHandle smoab::CellSet::Entity [private] |
Definition at line 35 of file CellSets.h.
Referenced by entity().