SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_model_CellEntity_h
11 #define smtk_model_CellEntity_h
14 #include "smtk/model/EntityRefArrangementOps.h"
15 #include "smtk/model/ShellEntity.h"
16 #include "smtk/model/UseEntity.h"
25 typedef std::vector<CellEntity> CellEntities;
36 CellEntities boundingCells()
const;
40 T boundingCellsAs()
const;
51 T CellEntity::boundingCellsAs()
const
54 T result(tmp.begin(), tmp.end());
77 #endif // smtk_model_CellEntity_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
std::vector< smtk::model::ShellEntity > ShellEntities
Definition: PublicPointerDefs.h:208
T uses() const
Report all of the "use" records associated with the cell.
Definition: CellEntity.h:67
Orientation
Constants that describe a cell-use's orientation relative to its parent cell.
Definition: ArrangementKind.h:39
A entityref subclass that provides methods specific to models.
Definition: Model.h:30
@ HAS_USE
How this cell's shells are combined into a single orientation for use by bordant cells.
Definition: ArrangementKind.h:54
A entityref subclass with methods specific to cell entities.
Definition: CellEntity.h:30
CellEntities boundingCells() const
Report all of the lower-dimensional cells bounding this cell.
Definition: CellEntity.cxx:40
@ INCLUDES
How another cell is contained in the interior of this cell.
Definition: ArrangementKind.h:51
std::vector< smtk::model::UseEntity > UseEntities
Definition: PublicPointerDefs.h:213
T inclusions() const
Return the list of all entities embedded in this cell.
Definition: CellEntity.h:59
A entityref subclass that provides methods specific to entity-use records.
Definition: UseEntity.h:53
A entityref subclass with methods specific to shell entities.
Definition: ShellEntity.h:33
#define SMTK_ENTITYREF_CLASS(thisclass, superclass, typecheck)
A macro to implement mandatory EntityRef-subclass constructors.
Definition: EntityRef.h:43
static void appendAllRelations(const EntityRef &c, ArrangementKind k, T &result)
Append all the relations of kind k to result.
Definition: EntityRefArrangementOps.h:62
A lightweight entityref pointing to a model entity's resource.
Definition: EntityRef.h:112