Salome HOME
IsDimSupported method added
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_Arithmetic1D_i.cxx
index 9c142aab82e5d20e92ae3031d058e5ec612397f2..9c39bc72b794d6825bf620cd5f4f19bc5a8623a4 100644 (file)
@@ -128,3 +128,17 @@ CORBA::Double StdMeshers_Arithmetic1D_i::GetLength( CORBA::Boolean theIsStart)
   return ( ::StdMeshers_Arithmetic1D* )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_Arithmetic1D_i::IsDimSupported( SMESH::Dimension type )
+{
+  return type == SMESH::DIM_1D;
+}
+