Build a set of Polyhedron.
More...
#include <MeshVizXLM/mesh/topology/MbPolyhedronCellsSet.h>
Public Member Functions | |
MbPolyhedronCellsSet () | |
template<typename _FacetNodeIter , typename _NumNodeIter , typename _NumFacetIter > | |
void | assign (_FacetNodeIter beginFacetNode, _FacetNodeIter endFacetNode, _NumNodeIter beginNumNode, _NumNodeIter endNumNode, _NumFacetIter beginNumFacet, _NumFacetIter endNumFacet) |
template<typename _FacetNodeIter , typename _FacetRefIter > | |
void | assign (_FacetNodeIter beginFacetNode, _FacetNodeIter endFacetNode, _FacetRefIter beginFacetRef, _FacetRefIter endFacetRef, const std::vector< size_t > *cellFacets, size_t numCells) |
virtual const MbPolyhedronCell * | getCell (size_t cellId) const |
virtual size_t | getNumCells () const |
virtual size_t | getBeginNodeId () const |
virtual size_t | getEndNodeId () const |
MbPolyhedronCellsSet::MbPolyhedronCellsSet | ( | ) | [inline] |
Construct an empty set of Polyhedrons.
void MbPolyhedronCellsSet::assign | ( | _FacetNodeIter | beginFacetNode, | |
_FacetNodeIter | endFacetNode, | |||
_FacetRefIter | beginFacetRef, | |||
_FacetRefIter | endFacetRef, | |||
const std::vector< size_t > * | cellFacets, | |||
size_t | numCells | |||
) | [inline] |
Defines a new list of Polyhedrons according to a list of facet indices, the number of indices per facet and the number of facet per polyhedrons.
void MbPolyhedronCellsSet::assign | ( | _FacetNodeIter | beginFacetNode, | |
_FacetNodeIter | endFacetNode, | |||
_NumNodeIter | beginNumNode, | |||
_NumNodeIter | endNumNode, | |||
_NumFacetIter | beginNumFacet, | |||
_NumFacetIter | endNumFacet | |||
) | [inline] |
Defines a new list of Polyhedrons according to a list of facet indices, the number of indices per facet and the number of facet per polyhedrons.
virtual size_t MbPolyhedronCellsSet::getBeginNodeId | ( | ) | const [inline, virtual] |
Returns the first node index in this polyhedral geometry.
Reimplemented from MiTopologyExplicitI.
const MbPolyhedronCell * MbPolyhedronCellsSet::getCell | ( | size_t | cellId | ) | const [inline, virtual] |
Returns the i-th cell of this set.
Implements MiVolumeTopologyExplicitI.
virtual size_t MbPolyhedronCellsSet::getEndNodeId | ( | ) | const [inline, virtual] |
Returns the end node index in this polyhedral geometry.
Implements MiTopologyExplicitI.
size_t MbPolyhedronCellsSet::getNumCells | ( | ) | const [inline, virtual] |
Returns the number of cells in the set.
Implements MiTopologyI.