|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Mapping between MbMesh and MbPolymesh. More...
#include <polymesh_topo.h>
Public Member Functions | |
| MapPolymeshToMbMesh (const c3d::IndicesVector &mapGridToSubRegion, size_t subRegionsCount) | |
| Constructor. More... | |
| MapPolymeshToMbMesh (const c3d::IndicesVector &mapGridToSubRegion, size_t subRegionsCount, const c3d::IndicesVector &mapPolygonToSegmEd, size_t edSegmCount) | |
| Constructor. More... | |
| ~MapPolymeshToMbMesh () | |
| Destructor. | |
| size_t | GetSubRegionIdByGrid (size_t iGrid) const |
| Get subregion index by grid index. | |
| size_t | GetGridIdBySubRegion (size_t iRegion) const |
| Get grid index by subregion index. | |
| size_t | GetSegmEdIdByPolygon (size_t iPolygon) const |
| Get segmentation edge index by polygon index. | |
| size_t | GetPolygonIdBySegmEd (size_t iEdSegm) const |
| Get polygon index by segmentation edge index. | |
| const c3d::IndicesVector & | GetMapGridToSubRegion () const |
| Get the mapping from grids to subregions. | |
| const c3d::IndicesVector & | GetMapSubRegionToGrid () const |
| Get the mapping from subregions to grids. | |
| const c3d::IndicesVector & | GetMapPolygonToSegmEd () const |
| Get the mapping from polygons to segmentation edges. | |
| const c3d::IndicesVector & | GetMapSegmEdToPolygon () const |
| Get the mapping from segmentation edges to polygons. | |
Mapping between MbMesh and MbPolymesh.
Mapping between parts of the MbPolymesh object and MbMesh object constructed by the polymesh.
| MapPolymeshToMbMesh::MapPolymeshToMbMesh | ( | const c3d::IndicesVector & | mapGridToSubRegion, |
| size_t | subRegionsCount | ||
| ) |
Constructor.
| [in] | mapGridToSubRegion | - Mapping from grids to subregions. |
| [in] | subRegionsCount | - Subregion count. |
| MapPolymeshToMbMesh::MapPolymeshToMbMesh | ( | const c3d::IndicesVector & | mapGridToSubRegion, |
| size_t | subRegionsCount, | ||
| const c3d::IndicesVector & | mapPolygonToSegmEd, | ||
| size_t | edSegmCount | ||
| ) |
Constructor.
| [in] | mapGridToSubRegion | - Mapping from grids to subregions. |
| [in] | subRegionsCount | - Subregion count. |
| [in] | mapPolygonToSegmEd | - Mapping from polygons to segmentation edges. |
| [in] | edSegmCount | - Segmentation edge count. |