Salome HOME
Fix of compilation problems on some platforms
[modules/smesh.git] / src / SMDS / SMDS_TypeOfPosition.hxx
index 54b18211ad70ea85cd997b82d453e0239eb15ecf..8c0631bfc3e0cf6cb758ec06482168a552e95347 100644 (file)
 #ifndef _SMDS_TypeOfPosition_HeaderFile
 #define _SMDS_TypeOfPosition_HeaderFile
 
-enum SMDS_TypeOfPosition { 
- SMDS_TOP_UNSPEC,
-SMDS_TOP_3DSPACE,
-SMDS_TOP_VERTEX,
-SMDS_TOP_EDGE,
-SMDS_TOP_FACE
+enum SMDS_TypeOfPosition // Value is equal to shape dimention
+{
+       SMDS_TOP_UNSPEC  = -1,
+       SMDS_TOP_VERTEX  = 0,
+       SMDS_TOP_EDGE    = 1,
+       SMDS_TOP_FACE    = 2,
+       SMDS_TOP_3DSPACE = 3
 };
 
-
-#ifndef _Standard_PrimitiveTypes_HeaderFile
-#include <Standard_PrimitiveTypes.hxx>
-#endif
-
 #endif