Salome HOME
Update mail address
[modules/smesh.git] / src / SMDS / SMDS_VertexPosition.cxx
index ed554f335145bcc165217e1c070b85e110272bce..e39e3fc2d5c4645d1e2b3a988de1c527842511b3 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 //  Author : Jean-Michel BOULCOURT
 //  Module : SMESH
 
-using namespace std;
-#include "SMDS_VertexPosition.ixx"
+#include "SMDS_VertexPosition.hxx"
+
 #include "utilities.h"
 
+using namespace std;
+
 //=======================================================================
 //function : SMDS_VertexPosition
 //purpose  : 
 //=======================================================================
 
-SMDS_VertexPosition::SMDS_VertexPosition()
-  :SMDS_Position(0,SMDS_TOP_VERTEX)
+SMDS_VertexPosition:: SMDS_VertexPosition(const int aVertexId)
+       :SMDS_Position(aVertexId)
 {
 }
 
 //=======================================================================
-//function : SMDS_VertexPosition
+//function : Coords
 //purpose  : 
 //=======================================================================
 
-SMDS_VertexPosition::SMDS_VertexPosition(const Standard_Integer aVertexId)
-  :SMDS_Position(aVertexId,SMDS_TOP_VERTEX)
+const double *SMDS_VertexPosition::Coords() const
 {
+       const static double origin[]={0,0,0};
+       MESSAGE("SMDS_VertexPosition::Coords not implemented");
+       return origin;
 }
 
 
-//=======================================================================
-//function : Coords
-//purpose  : 
-//=======================================================================
-
-gp_Pnt SMDS_VertexPosition::Coords() const
+SMDS_TypeOfPosition SMDS_VertexPosition::GetTypeOfPosition() const
 {
-  MESSAGE( "SMDS_VertexPosition::Coords not implemented" );
-  return gp_Pnt(0,0,0);
+       return SMDS_TOP_VERTEX;
 }