Defines an abstract mono-dimensional mesh. More...
#include <MeshViz/3Ddata/PbMesh1D.h>
Public Member Functions | |
virtual float | getVolume () const |
virtual float | getArea () const |
virtual const PbCell * | findContainingCell (const SbVec3f &point, float tolerance, SbVec3f &pcoord, const PbCell *adjacent_cell) const |
virtual const PbCell * | findContainingCell (const SbVec3f &point, float tolerance, SbVec3f &pcoord) const |
virtual const PbCell * | getCell (int cell_index) const |
virtual void | getAdjacentCellsIndByNode (int cell_index, PbArrayOfInt &adjacent_cells) const |
virtual void | getAdjacentCellsIndByFacet (int cell_index, PbArrayOfInt &adjacent_cells) const |
virtual void | getNodeOwnerCellsInd (int nod_index, PbArrayOfInt &owner_cells) const |
virtual void | getNodesOwnerCellsInd (const PbArrayOfInt &nod_indices, PbArrayOfInt &owner_cells) const |
PbMesh1D & | operator= (const PbMesh1D &mesh) |
A mono-dimentional mesh is made of points cells.
const PbCell * PbMesh1D::findContainingCell | ( | const SbVec3f & | point, | |
float | tolerance, | |||
SbVec3f & | pcoord | |||
) | const [inline, virtual] |
Returns always NULL.
Reimplemented from PbMesh.
const PbCell * PbMesh1D::findContainingCell | ( | const SbVec3f & | point, | |
float | tolerance, | |||
SbVec3f & | pcoord, | |||
const PbCell * | adjacent_cell | |||
) | const [inline, virtual] |
Returns always NULL.
Reimplemented from PbMesh.
virtual void PbMesh1D::getAdjacentCellsIndByFacet | ( | int | cell_index, | |
PbArrayOfInt & | adjacent_cells | |||
) | const [virtual] |
Gets the list of indices of cells that are adjacent (by a facet) to cell_index.
Two cells are adjacent by a facet if they own at least one facet of the mesh in common
Reimplemented from PbMesh.
virtual void PbMesh1D::getAdjacentCellsIndByNode | ( | int | cell_index, | |
PbArrayOfInt & | adjacent_cells | |||
) | const [virtual] |
Gets the list of indices of cells that are adjacent (by a node) to cell_index.
Two cells are adjacent by a node if they own at least one node of the mesh in common.
Reimplemented from PbMesh.
virtual float PbMesh1D::getArea | ( | ) | const [inline, virtual] |
Returns always 0.
Implements PbMesh.
const PbCell * PbMesh1D::getCell | ( | int | cell_index | ) | const [inline, virtual] |
Returns always NULL.
Implements PbMesh.
virtual void PbMesh1D::getNodeOwnerCellsInd | ( | int | nod_index, | |
PbArrayOfInt & | owner_cells | |||
) | const [virtual] |
Gets the list of indices of cells that own the node "nod_index".
Implements PbMesh.
virtual void PbMesh1D::getNodesOwnerCellsInd | ( | const PbArrayOfInt & | nod_indices, | |
PbArrayOfInt & | owner_cells | |||
) | const [virtual] |
Returns always an empty list of index.
Reimplemented from PbMesh.
virtual float PbMesh1D::getVolume | ( | ) | const [inline, virtual] |
Returns always 0.
Implements PbMesh.
Assignment operator.
Reimplemented from PbMesh.
Reimplemented in PbIrregularMesh1D, and PbRegularMesh1D.