SALOME - SMESH
|
#include <SMDS_MeshFace.hxx>
Public Member Functions | |
SMDSAbs_ElementType | GetType () const |
Return the type of the current element. | |
SMDS_ElemIteratorPtr | nodesIterator () const |
SMDS_ElemIteratorPtr | edgesIterator () const |
SMDS_ElemIteratorPtr | facesIterator () const |
virtual SMDS_ElemIteratorPtr | elementsIterator (SMDSAbs_ElementType type) const |
virtual int | NbNodes () const |
virtual int | NbEdges () const |
virtual int | NbFaces () const |
int | GetID () const |
virtual bool | IsPoly () const |
virtual bool | IsQuadratic () const |
virtual SMDSAbs_EntityType | GetEntityType () const =0 |
Return type of entity. | |
virtual bool | IsMediumNode (const SMDS_MeshNode *node) const |
virtual const SMDS_MeshNode * | GetNode (const int ind) const |
Return node by its index. | |
const SMDS_MeshNode * | GetNodeWrap (const int ind) const |
Return node by its index. | |
virtual bool | IsValidIndex (const int ind) const |
Return true if index of node is valid (0 <= ind < NbNodes()) | |
int | WrappedIndex (const int ind) const |
Return a valid node index, fixing the given one if necessary. | |
int | GetNodeIndex (const SMDS_MeshNode *node) const |
Check if a node belongs to the element. | |
Protected Member Functions | |
virtual void | Print (std::ostream &OS) const |
Friends | |
std::ostream & | operator<< (std::ostream &OS, const SMDS_MeshElement *) |
bool | SMDS_MeshElementIDFactory::BindID (int ID, SMDS_MeshElement *elem) |
Definition at line 33 of file SMDS_MeshFace.hxx.
SMDSAbs_ElementType SMDS_MeshFace.GetType | ( | ) | const [virtual] |
Return the type of the current element.
Implements SMDS_MeshElement.
Reimplemented in SMDS_FaceOfEdges, and SMDS_PolygonalFaceOfNodes.
SMDS_ElemIteratorPtr SMDS_MeshElement.nodesIterator | ( | ) | const [inherited] |
SMDS_ElemIteratorPtr SMDS_MeshElement.edgesIterator | ( | ) | const [inherited] |
SMDS_ElemIteratorPtr SMDS_MeshElement.facesIterator | ( | ) | const [inherited] |
virtual SMDS_ElemIteratorPtr SMDS_MeshElement.elementsIterator | ( | SMDSAbs_ElementType | type | ) | const [virtual, inherited] |
virtual int SMDS_MeshElement.NbNodes | ( | ) | const [virtual, inherited] |
Reimplemented in SMDS_FaceOfEdges, SMDS_FaceOfNodes, SMDS_Mesh0DElement, SMDS_MeshEdge, SMDS_MeshNode, SMDS_PolygonalFaceOfNodes, SMDS_PolyhedralVolumeOfNodes, SMDS_QuadraticEdge, SMDS_QuadraticFaceOfNodes, SMDS_QuadraticVolumeOfNodes, and SMDS_VolumeOfNodes.
Referenced by SMDS_MeshInfo.add(), and SMDS_MeshInfo.remove().
virtual int SMDS_MeshElement.NbEdges | ( | ) | const [virtual, inherited] |
virtual int SMDS_MeshElement.NbFaces | ( | ) | const [virtual, inherited] |
int SMDS_MeshElement.GetID | ( | ) | const [inherited] |
Referenced by TIDCompare.operator()(), TNode.operator<(), and SMESH_TLink.SMESH_TLink().
virtual bool SMDS_MeshElement.IsPoly | ( | ) | const [virtual, inherited] |
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().
virtual bool SMDS_MeshElement.IsQuadratic | ( | ) | const [virtual, inherited] |
Reimplemented in SMDS_QuadraticEdge, SMDS_QuadraticFaceOfNodes, and SMDS_QuadraticVolumeOfNodes.
Referenced by SMDS_MeshInfo.RemoveEdge().
virtual SMDSAbs_EntityType SMDS_MeshElement.GetEntityType | ( | ) | const [pure virtual, inherited] |
Return type of entity.
Implemented in SMDS_FaceOfEdges, SMDS_FaceOfNodes, SMDS_Mesh0DElement, SMDS_MeshEdge, SMDS_MeshNode, SMDS_PolygonalFaceOfNodes, SMDS_PolyhedralVolumeOfNodes, SMDS_QuadraticEdge, SMDS_QuadraticFaceOfNodes, SMDS_QuadraticVolumeOfNodes, SMDS_VolumeOfFaces, and SMDS_VolumeOfNodes.
virtual bool SMDS_MeshElement.IsMediumNode | ( | const SMDS_MeshNode * | node | ) | const [virtual, inherited] |
Reimplemented in SMDS_QuadraticEdge, SMDS_QuadraticFaceOfNodes, and SMDS_QuadraticVolumeOfNodes.
virtual const SMDS_MeshNode* SMDS_MeshElement.GetNode | ( | const int | ind | ) | const [virtual, inherited] |
Return node by its index.
ind | - node index |
const | SMDS_MeshNode* - the node |
Reimplemented in SMDS_FaceOfEdges, SMDS_FaceOfNodes, SMDS_Mesh0DElement, SMDS_MeshEdge, SMDS_MeshNode, SMDS_PolygonalFaceOfNodes, SMDS_PolyhedralVolumeOfNodes, SMDS_QuadraticFaceOfNodes, SMDS_QuadraticVolumeOfNodes, and SMDS_VolumeOfNodes.
const SMDS_MeshNode* SMDS_MeshElement.GetNodeWrap | ( | const int | ind | ) | const [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.
virtual bool SMDS_MeshElement.IsValidIndex | ( | const int | ind | ) | const [virtual, inherited] |
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.
int SMDS_MeshElement.GetNodeIndex | ( | const SMDS_MeshNode * | node | ) | const [inherited] |
Check if a node belongs to the element.
node | - the node to check |
int | - node index within the element, -1 if not found |
virtual void SMDS_MeshElement.Print | ( | std::ostream & | OS | ) | const [protected, virtual, inherited] |
std::ostream& operator<< | ( | std::ostream & | OS, |
const SMDS_MeshElement * | |||
) | [friend, inherited] |
bool SMDS_MeshElementIDFactory::BindID | ( | int | ID, |
SMDS_MeshElement * | elem | ||
) | [friend, inherited] |