Salome HOME
IsDimSupported method added
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_LengthFromEdges_i.cxx
index afcd3b14b454683f0bcaf2ef3056200009264848..35d871c569118b74bca06db133b05b0616549571 100644 (file)
@@ -119,3 +119,17 @@ CORBA::Long StdMeshers_LengthFromEdges_i::GetMode()
   return ( ::StdMeshers_LengthFromEdges* )myBaseImpl;
 }
 
+//================================================================================
+/*!
+ * \brief Verify whether hypothesis supports given entity type 
+  * \param type - dimension (see SMESH::Dimension enumeration)
+  * \retval CORBA::Boolean - TRUE if dimension is supported, FALSE otherwise
+ * 
+ * Verify whether hypothesis supports given entity type (see SMESH::Dimension enumeration)
+ */
+//================================================================================  
+CORBA::Boolean StdMeshers_LengthFromEdges_i::IsDimSupported( SMESH::Dimension type )
+{
+  return type == SMESH::DIM_2D;
+}
+