12 #ifndef MESH_SHEET_CLASS 13 #define MESH_SHEET_CLASS 50 const std::string &name);
60 const std::string &ref,
64 const std::string &name);
79 const std::string &name,
88 MLINT i4 = MESH_TOPO_INDEX_UNUSED)
const;
95 MLINT i4 = MESH_TOPO_INDEX_UNUSED);
107 const std::string &ref,
111 const std::string &name,
128 const std::string &name,
142 const std::string &ref,
146 const std::string &name,
186 virtual void deleteFaceEdgeByInds(
MLINT i1,
MLINT i2);
189 virtual MLINT getNumFaceEdges()
const;
197 virtual void getFaceEdges(std::vector<const MeshEdge *> &faceEdges)
const;
202 virtual void getMeshFaces(std::vector<const MeshFace *> &faces)
const;
MLUINT faceEdgeCounter_
Serial counter as faceEdges are added to the sheet (zero-based)
MeshFace * getMeshFaceByRef(const std::string &ref) const
Find a MeshFace in the MeshModel using reference.
MeshTopoRefToNameMap meshFaceRefToNameMap_
Map application-defined face reference string to face name.
static MLUINT nameCounter_
The unique name counter for sheets.
Storage for mesh topology and geometry associativity data.
MeshTopoIDToNameMap meshPointIDToNameMap_
Map point IDs to point names.
MLUINT64 MLUINT
Standard unsigned integer - value depends on IS64BIT macro.
std::map< std::string, MeshFace * > MeshFaceNameMap
std::map< pwiFnvHash::FNVHash, MeshEdge * > faceEdgeMap_
Map face edge indices hash to edge.
3D (volume) mesh topology
std::map< std::string, MeshSheet * > MeshSheetNameMap
2D (surface) mesh topology
std::map< std::string, std::string > MeshTopoRefToNameMap
MeshFace * getMeshFaceByName(const std::string &name) const
Find a MeshFace in the MeshModel using name.
bool addFace(MLINT i1, MLINT i2, MLINT i3, MLINT mid, MLINT aref, MLINT gref, std::string &name, ParamVertex *pv1, ParamVertex *pv2, ParamVertex *pv3, bool mapID)
Add a triangular MeshFace to the MeshModel using indices.
std::map< pwiFnvHash::FNVHash, MeshFace * > faceMap_
Map face indices hash to face.
MeshTopoIDToNameMap meshFaceIDToNameMap_
Map face IDs to face names.
std::map< MLINT, std::string > MeshTopoIDToNameMap
virtual MLUINT & getNameCounter()
Returns the current value of the counter used for generating unique mesh entity names.
virtual const std::string & getBaseName() const
Returns the base name used for generating unique mesh entity names.
MeshFaceNameMap meshFaceNameMap_
Map face names to face.
void addFaceEdge(MLINT i1, MLINT i2, MLINT mid, MLINT aref, MLINT gref, ParamVertex *pv1, ParamVertex *pv2)
Add a face-edge to the MeshModel.
std::map< std::string, MeshPoint * > MeshPointNameMap
void getMeshFaces(std::vector< const MeshFace * > &faces) const
Return list of all MeshFace in the MeshModel.
std::map< pwiFnvHash::FNVHash, MeshPoint * > pointMap_
Map point hash values to points.
MeshFace * findFaceByInds(MLINT i1, MLINT i2, MLINT i3, MLINT i4=MESH_TOPO_INDEX_UNUSED)
Find a (triangular or quadrilateral) face in the MeshSheet associativity data.
void deleteFaceByInds(MLINT i1, MLINT i2, MLINT i3, MLINT i4=MESH_TOPO_INDEX_UNUSED)
Delete an MeshFace from the MeshModel using indices.
MeshPointNameMap meshPointNameMap_
Map point names to points.
MeshEdge * findFaceEdgeByInds(MLINT i1, MLINT i2) const
Find an edge in the MeshSheet associativity data.
Base class for mesh topology entities.
Parametric geometry data.
MLINT64 MLINT
Standard integer - value depends on IS64BIT macro.
MLINT getNumFaces() const
Return the number of faces in the MeshModel.
MLUINT faceCounter_
Serial counter as faces are added to the sheet (zero-based)