Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/smesh.git] / src / SMDS / SMDS_TypeOfPosition.hxx
index 9de8b7fb8055684f9e54d7af84c34bb96ef3fce7..8c0631bfc3e0cf6cb758ec06482168a552e95347 100644 (file)
 #ifndef _SMDS_TypeOfPosition_HeaderFile
 #define _SMDS_TypeOfPosition_HeaderFile
 
-enum SMDS_TypeOfPosition
+enum SMDS_TypeOfPosition // Value is equal to shape dimention
 {
-       SMDS_TOP_UNSPEC,
-       SMDS_TOP_3DSPACE,
-       SMDS_TOP_VERTEX,
-       SMDS_TOP_EDGE,
-       SMDS_TOP_FACE
+       SMDS_TOP_UNSPEC  = -1,
+       SMDS_TOP_VERTEX  = 0,
+       SMDS_TOP_EDGE    = 1,
+       SMDS_TOP_FACE    = 2,
+       SMDS_TOP_3DSPACE = 3
 };
 
 #endif