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
GetElementType method added
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_VertexPosition.cxx
diff --git
a/src/SMDS/SMDS_VertexPosition.cxx
b/src/SMDS/SMDS_VertexPosition.cxx
index ed554f335145bcc165217e1c070b85e110272bce..022f76ad364f416469d9207bdb7a21cd00ea20ac 100644
(file)
--- a/
src/SMDS/SMDS_VertexPosition.cxx
+++ b/
src/SMDS/SMDS_VertexPosition.cxx
@@
-25,38
+25,36
@@
// 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"
+using namespace std;
+
//=======================================================================
//function : SMDS_VertexPosition
//purpose :
//=======================================================================
//=======================================================================
//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 :
//=======================================================================
//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;
}
}