X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2FSMDS_FaceOfNodes.hxx;h=290195107d4844fbd2be02cfd5770209232a703c;hb=deb5f024f2af09293ce204616d618aeda01c965a;hp=9a2adad0b80f29320b41f7830f5419f169a7aceb;hpb=c3bf92bd87b770fd81631a3853f7f5bb1ac6a4e8;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_FaceOfNodes.hxx b/src/SMDS/SMDS_FaceOfNodes.hxx index 9a2adad0b..290195107 100644 --- a/src/SMDS/SMDS_FaceOfNodes.hxx +++ b/src/SMDS/SMDS_FaceOfNodes.hxx @@ -22,15 +22,16 @@ #ifndef _SMDS_FaceOfNodes_HeaderFile #define _SMDS_FaceOfNodes_HeaderFile -#include #include "SMDS_MeshFace.hxx" #include "SMDS_MeshNode.hxx" #include "SMDS_Iterator.hxx" +#include + class SMDS_FaceOfNodes:public SMDS_MeshFace { public: - void Print(ostream & OS) const; + void Print(std::ostream & OS) const; SMDS_FaceOfNodes(const SMDS_MeshNode* node1, const SMDS_MeshNode* node2, const SMDS_MeshNode* node3); @@ -38,7 +39,8 @@ class SMDS_FaceOfNodes:public SMDS_MeshFace const SMDS_MeshNode* node2, const SMDS_MeshNode* node3, const SMDS_MeshNode* node4); - + bool ChangeNodes(const SMDS_MeshNode* nodes[], + const int nbNodes); int NbEdges() const; int NbFaces() const; int NbNodes() const; @@ -47,7 +49,8 @@ class SMDS_FaceOfNodes:public SMDS_MeshFace elementsIterator(SMDSAbs_ElementType type) const; private: - vector myNodes; + const SMDS_MeshNode* myNodes[4]; + int myNbNodes; };