SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_model_ShellEntity_h
11 #define smtk_model_ShellEntity_h
14 #include "smtk/model/EntityRefArrangementOps.h"
41 bool contains(
const UseEntity& bdyUse)
const;
46 T cellsOfUses()
const;
50 T containedShellEntities()
const;
86 ShellEntity& ShellEntity::addUses(
const T& useContainer)
88 for (
typename T::const_iterator it = useContainer.begin(); it != useContainer.end(); ++it)
98 #endif // smtk_model_ShellEntity_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 containedShellEntities() const
Return all the shell-entities contained inside this one.
Definition: ShellEntity.h:78
ShellEntity & addUse(const UseEntity &use)
Add the (lower-dimensional) use as a child of the shell.
Definition: ShellEntity.cxx:81
@ HAS_USE
How this cell's shells are combined into a single orientation for use by bordant cells.
Definition: ArrangementKind.h:54
T uses() const
Return the uses (cells with an orientation, or sense) composing this shell.
Definition: ShellEntity.h:67
A entityref subclass with methods specific to cell entities.
Definition: CellEntity.h:30
@ 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
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