Salome HOME
IsDimSupported method added
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_Deflection1D_i.cxx
index 78ef384cc2b8e948867619a7ce2a83799c792e67..0f3f4a942e7a122538cd0b9fd41a2eda66f03f02 100644 (file)
@@ -127,3 +127,18 @@ CORBA::Double StdMeshers_Deflection1D_i::GetDeflection()
   MESSAGE( "StdMeshers_Deflection1D_i::GetImpl" );
   return ( ::StdMeshers_Deflection1D* )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_Deflection1D_i::IsDimSupported( SMESH::Dimension type )
+{
+  return type == SMESH::DIM_1D;
+}
+