Salome HOME
Merge from BR_DEBUG_3_2_0b1
[modules/smesh.git] / src / SMDS / SMDS_Position.cxx
index 4a9818c56cf8b80228eb36e8bacdf5ac5fbd4809..bd9a7a24b0e03673c7d107c8cb293a15e6a54f6f 100644 (file)
@@ -17,7 +17,7 @@
 //  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
 //
 //
 //
@@ -56,6 +56,21 @@ int SMDS_Position::GetShapeId() const
        return myShapeId;
 }
 
-SMDS_Position::~SMDS_Position()
+//=======================================================================
+//function : GetDim
+//purpose  : 
+//=======================================================================
+
+int SMDS_Position::GetDim() const
 {
+//   switch ( GetTypeOfPosition() ) {
+//   case SMDS_TOP_UNSPEC:  return -1;
+//   case SMDS_TOP_VERTEX:  return 0;
+//   case SMDS_TOP_EDGE:    return 1;
+//   case SMDS_TOP_FACE:    return 2;
+//   case SMDS_TOP_3DSPACE: return 3;
+//   }
+  return GetTypeOfPosition();
 }
+
+