Salome HOME
IsDimSupported method added
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_MaxElementVolume_i.cxx
index f571bab827e6c868fe70d49a3bbb9f1203c19fe8..d8686ab334528bf053e64bc5053cb0d2984e7943 100644 (file)
@@ -128,3 +128,17 @@ CORBA::Double StdMeshers_MaxElementVolume_i::GetMaxElementVolume()
   return ( ::StdMeshers_MaxElementVolume* )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_MaxElementVolume_i::IsDimSupported( SMESH::Dimension type )
+{
+  return type == SMESH::DIM_3D;
+}
+