Defines an abstract cell of an extracted line mesh. More...
#include <MeshVizXLM/extrmesh/cell/MeXLineCell.h>
Public Member Functions | |
virtual double | getLength (const MiGeometryI *meshGeometry) const =0 |
Gets the length of the cell. | |
Public Member Functions inherited from MiLineCell | |
virtual size_t | getSubEdgeNodesIndex (std::vector< size_t > &edgeNodeIds) const |
Get a decomposition of this cell into sub linear segments. | |
Public Member Functions inherited from MiCell | |
virtual | ~MiCell () |
Virtual destructor. | |
virtual size_t | getNumNodes () const =0 |
Gets the number of nodes. | |
virtual size_t | getNodeIndex (size_t node) const =0 |
Gets the index (in the mesh) of a node. | |
virtual double | getRelativeSize (const MiGeometryI *meshGeometry) const |
Gets the relative size of the cell. | |
virtual void | getWeight (const MbVec3d &ipcoord, std::vector< double > &weight) const |
Gets the weights of a point defined by its iso parametric coordinates. | |
virtual MbVec3d | getIsoParametricCoord (size_t nodeIndex) const |
Gets the iso parametric coordinates of a cell's node. | |
virtual MbVec3d | getCenter (const MiGeometryI &geometry) const |
Gets the center of the cell. | |
virtual bool | isPointInsideCell (const MiGeometryI &meshGeometry, const MbVec3d &point, std::vector< double > &weights) const |
Checks if a point is inside or outside a cell. | |
Additional Inherited Members | |
Protected Member Functions inherited from MiCell | |
virtual std::ostream & | toStream (std::ostream &s) const |
Performs an output operation on a stream which is returned afterward. | |
Defines an abstract cell of an extracted line mesh.
A line cell is an edge element that connects adjacent nodes of a line mesh.
Definition at line 44 of file MeXLineCell.h.
|
pure virtual |
Gets the length of the cell.
An application does not need to override this method.
[in] | meshGeometry | The geometry of the mesh. Used to retrieve the node coordinates of this cell. |