// 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;
}