SALOME - SMESH
|
#include <SMDS_Mesh0DElement.hxx>
Public Member Functions | |
SMDS_Mesh0DElement (const SMDS_MeshNode *node) | |
bool | ChangeNode (const SMDS_MeshNode *node) |
void | Print (std::ostream &OS) const |
SMDSAbs_ElementType | GetType () const |
Return the type of the current element. More... | |
SMDSAbs_EntityType | GetEntityType () const |
Return type of entity. More... | |
int | NbNodes () const |
int | NbEdges () const |
virtual const SMDS_MeshNode * | GetNode (const int ind) const |
Return node by its index. More... | |
SMDS_ElemIteratorPtr | nodesIterator () const |
SMDS_ElemIteratorPtr | edgesIterator () const |
SMDS_ElemIteratorPtr | facesIterator () const |
virtual int | NbFaces () const |
int | GetID () const |
virtual bool | IsPoly () const |
virtual bool | IsQuadratic () const |
virtual bool | IsMediumNode (const SMDS_MeshNode *node) const |
const SMDS_MeshNode * | GetNodeWrap (const int ind) const |
Return node by its index. More... | |
virtual bool | IsValidIndex (const int ind) const |
Return true if index of node is valid (0 <= ind < NbNodes()) More... | |
int | WrappedIndex (const int ind) const |
Return a valid node index, fixing the given one if necessary. More... | |
int | GetNodeIndex (const SMDS_MeshNode *node) const |
Check if a node belongs to the element. More... | |
Protected Member Functions | |
SMDS_ElemIteratorPtr | elementsIterator (SMDSAbs_ElementType type) const |
Protected Attributes | |
const SMDS_MeshNode * | myNode |
Friends | |
bool | operator< (const SMDS_Mesh0DElement &e1, const SMDS_Mesh0DElement &e2) |
Definition at line 35 of file SMDS_Mesh0DElement.hxx.
SMDS_Mesh0DElement::SMDS_Mesh0DElement | ( | const SMDS_MeshNode * | node | ) |
bool SMDS_Mesh0DElement::ChangeNode | ( | const SMDS_MeshNode * | node | ) |
|
virtual |
Reimplemented from SMDS_MeshElement.
|
virtual |
Return the type of the current element.
Implements SMDS_MeshElement.
|
virtual |
Return type of entity.
Implements SMDS_MeshElement.
Definition at line 43 of file SMDS_Mesh0DElement.hxx.
References SMDSEntity_0D.
|
virtual |
Reimplemented from SMDS_MeshElement.
|
virtual |
Reimplemented from SMDS_MeshElement.
|
virtual |
Return node by its index.
ind | - node index |
const | SMDS_MeshNode* - the node |
Reimplemented from SMDS_MeshElement.
|
protectedvirtual |
Reimplemented from SMDS_MeshElement.
|
inherited |
|
inherited |
|
inherited |
|
virtualinherited |
|
inherited |
Referenced by TIDCompare::operator()(), TNode::operator<(), and SMESH_TLink::SMESH_TLink().
|
virtualinherited |
Reimplemented in SMDS_PolygonalFaceOfNodes, and SMDS_PolyhedralVolumeOfNodes.
Definition at line 65 of file SMDS_MeshElement.hxx.
Referenced by SMDS_MeshInfo::RemoveFace(), and SMDS_MeshInfo::RemoveVolume().
|
virtualinherited |
Reimplemented in SMDS_QuadraticVolumeOfNodes, SMDS_QuadraticFaceOfNodes, and SMDS_QuadraticEdge.
Referenced by SMDS_MeshInfo::RemoveEdge().
|
virtualinherited |
Reimplemented in SMDS_QuadraticVolumeOfNodes, SMDS_QuadraticFaceOfNodes, and SMDS_QuadraticEdge.
|
inherited |
Return node by its index.
ind | - node index |
const | SMDS_MeshNode* - the node |
Index is wrapped if it is out of a valid range
Definition at line 92 of file SMDS_MeshElement.hxx.
|
virtualinherited |
Return true if index of node is valid (0 <= ind < NbNodes())
ind | - node index |
bool | - index check result |
Return a valid node index, fixing the given one if necessary.
ind | - node index |
int | - valid node index |
Definition at line 106 of file SMDS_MeshElement.hxx.
|
inherited |
Check if a node belongs to the element.
node | - the node to check |
int | - node index within the element, -1 if not found |
|
friend |
|
protected |
Definition at line 59 of file SMDS_Mesh0DElement.hxx.