Salome HOME
IsDimSupported method added
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_LocalLength_i.cxx
index fe694f7f7a02252779c008abe7e8f201839c295f..a37b8e14a72ed18f69c6049dbefaba239e3281b7 100644 (file)
@@ -127,3 +127,18 @@ CORBA::Double StdMeshers_LocalLength_i::GetLength()
   MESSAGE( "StdMeshers_LocalLength_i::GetImpl" );
   return ( ::StdMeshers_LocalLength* )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_LocalLength_i::IsDimSupported( SMESH::Dimension type )
+{
+  return type == SMESH::DIM_1D;
+}
+