Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Freshly added file
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_VertexPosition.cxx
diff --git
a/src/SMDS/SMDS_VertexPosition.cxx
b/src/SMDS/SMDS_VertexPosition.cxx
index ed554f335145bcc165217e1c070b85e110272bce..8757ad4d3d1c65f76137a0eaf7293ce18ff62c84 100644
(file)
--- a/
src/SMDS/SMDS_VertexPosition.cxx
+++ b/
src/SMDS/SMDS_VertexPosition.cxx
@@
-25,8
+25,7
@@
// Author : Jean-Michel BOULCOURT
// Module : SMESH
// Author : Jean-Michel BOULCOURT
// Module : SMESH
-using namespace std;
-#include "SMDS_VertexPosition.ixx"
+#include "SMDS_VertexPosition.hxx"
#include "utilities.h"
//=======================================================================
#include "utilities.h"
//=======================================================================
@@
-34,29
+33,25
@@
using namespace std;
//purpose :
//=======================================================================
//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 :
//=======================================================================
//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_EdgePosition::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;
}
}