#include <SMDS_MeshNode.hxx>


Public Member Functions | |
| SMDS_MeshNode (double x, double y, double z) | |
| void | Print (std::ostream &OS) const |
| double | X () const |
| double | Y () const |
| double | Z () const |
| void | AddInverseElement (const SMDS_MeshElement *ME) |
| void | RemoveInverseElement (const SMDS_MeshElement *parent) |
| void | ClearInverseElements () |
| bool | emptyInverseElements () |
| SMDS_ElemIteratorPtr | GetInverseElementIterator (SMDSAbs_ElementType type=SMDSAbs_All) const |
| int | NbInverseElements (SMDSAbs_ElementType type=SMDSAbs_All) const |
| void | SetPosition (const SMDS_PositionPtr &aPos) |
| const SMDS_PositionPtr & | GetPosition () const |
| SMDSAbs_ElementType | GetType () const |
| Return the type of the current element. | |
| SMDSAbs_EntityType | GetEntityType () const |
| Return type of entity. | |
| int | NbNodes () const |
| void | setXYZ (double x, double y, double z) |
| virtual const SMDS_MeshNode * | GetNode (const int) const |
| Return node by its index. | |
| SMDS_ElemIteratorPtr | nodesIterator () const |
| SMDS_ElemIteratorPtr | edgesIterator () const |
| SMDS_ElemIteratorPtr | facesIterator () const |
| virtual int | NbEdges () 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. | |
| 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 | |
| SMDS_ElemIteratorPtr | elementsIterator (SMDSAbs_ElementType type) const |
Private Attributes | |
| double | myX |
| double | myY |
| double | myZ |
| SMDS_PositionPtr | myPosition |
| NCollection_List< const SMDS_MeshElement * > | myInverseElements |
Friends | |
| bool | operator< (const SMDS_MeshNode &e1, const SMDS_MeshNode &e2) |
| SMDS_EXPORT std::ostream & | operator<< (std::ostream &OS, const SMDS_MeshElement *) |
| SMDS_EXPORT bool | SMDS_MeshElementIDFactory::BindID (int ID, SMDS_MeshElement *elem) |
Definition at line 35 of file SMDS_MeshNode.hxx.
| SMDS_MeshNode.SMDS_MeshNode | ( | double | x, | |
| double | y, | |||
| double | z | |||
| ) |
| void SMDS_MeshNode.Print | ( | std::ostream & | OS | ) | const [virtual] |
Reimplemented from SMDS_MeshElement.
| double SMDS_MeshNode.X | ( | ) | const |
| double SMDS_MeshNode.Y | ( | ) | const |
| double SMDS_MeshNode.Z | ( | ) | const |
| void SMDS_MeshNode.AddInverseElement | ( | const SMDS_MeshElement * | ME | ) |
| void SMDS_MeshNode.RemoveInverseElement | ( | const SMDS_MeshElement * | parent | ) |
| void SMDS_MeshNode.ClearInverseElements | ( | ) |
| bool SMDS_MeshNode.emptyInverseElements | ( | ) |
| SMDS_ElemIteratorPtr SMDS_MeshNode.GetInverseElementIterator | ( | SMDSAbs_ElementType | type = SMDSAbs_All |
) | const |
| int SMDS_MeshNode.NbInverseElements | ( | SMDSAbs_ElementType | type = SMDSAbs_All |
) | const |
| void SMDS_MeshNode.SetPosition | ( | const SMDS_PositionPtr & | aPos | ) |
| const SMDS_PositionPtr& SMDS_MeshNode.GetPosition | ( | ) | const |
| SMDSAbs_ElementType SMDS_MeshNode.GetType | ( | ) | const [virtual] |
Return the type of the current element.
Implements SMDS_MeshElement.
| SMDSAbs_EntityType SMDS_MeshNode.GetEntityType | ( | ) | const [virtual] |
Return type of entity.
Implements SMDS_MeshElement.
Definition at line 53 of file SMDS_MeshNode.hxx.
References SMDSEntity_Node.
| int SMDS_MeshNode.NbNodes | ( | ) | const [virtual] |
Reimplemented from SMDS_MeshElement.
| void SMDS_MeshNode.setXYZ | ( | double | x, | |
| double | y, | |||
| double | z | |||
| ) |
| virtual const SMDS_MeshNode* SMDS_MeshNode.GetNode | ( | const | int | ) | const [virtual] |
Return node by its index.
| ind | - node index |
| const | SMDS_MeshNode* - the node |
Reimplemented from SMDS_MeshElement.
Definition at line 63 of file SMDS_MeshNode.hxx.
| SMDS_ElemIteratorPtr SMDS_MeshNode.elementsIterator | ( | SMDSAbs_ElementType | type | ) | const [protected, virtual] |
Reimplemented from SMDS_MeshElement.
| SMDS_ElemIteratorPtr SMDS_MeshElement.nodesIterator | ( | ) | const [inherited] |
| SMDS_ElemIteratorPtr SMDS_MeshElement.edgesIterator | ( | ) | const [inherited] |
| SMDS_ElemIteratorPtr SMDS_MeshElement.facesIterator | ( | ) | const [inherited] |
| 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 bool SMDS_MeshElement.IsMediumNode | ( | const SMDS_MeshNode * | node | ) | const [virtual, inherited] |
Reimplemented in SMDS_QuadraticEdge, SMDS_QuadraticFaceOfNodes, and SMDS_QuadraticVolumeOfNodes.
| 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 |
| bool operator< | ( | const SMDS_MeshNode & | e1, | |
| const SMDS_MeshNode & | e2 | |||
| ) | [friend] |
| SMDS_EXPORT std::ostream& operator<< | ( | std::ostream & | OS, | |
| const SMDS_MeshElement * | ||||
| ) | [friend, inherited] |
| SMDS_EXPORT bool SMDS_MeshElementIDFactory::BindID | ( | int | ID, | |
| SMDS_MeshElement * | elem | |||
| ) | [friend, inherited] |
double SMDS_MeshNode.myX [private] |
Definition at line 70 of file SMDS_MeshNode.hxx.
double SMDS_MeshNode.myY [private] |
Definition at line 70 of file SMDS_MeshNode.hxx.
double SMDS_MeshNode.myZ [private] |
Definition at line 70 of file SMDS_MeshNode.hxx.
SMDS_PositionPtr SMDS_MeshNode.myPosition [private] |
Definition at line 71 of file SMDS_MeshNode.hxx.
NCollection_List<const SMDS_MeshElement*> SMDS_MeshNode.myInverseElements [private] |
Definition at line 72 of file SMDS_MeshNode.hxx.
1.6.1