Salome HOME
IsDimSupported method added
[modules/smesh.git] / src / SMESH_I / SMESH_3D_Algo_i.cxx
index 197fc4448405d31ed509ae5180e7b5955e910e74..14276fe12ebffda055683e39a120529fef515760 100644 (file)
@@ -59,3 +59,18 @@ SMESH_3D_Algo_i::~SMESH_3D_Algo_i()
 {
   MESSAGE( "SMESH_3D_Algo_i::~SMESH_3D_Algo_i" );
 }
+
+//================================================================================
+/*!
+ * \brief Verify whether algorithm supports given entity type 
+  * \param type - dimension (see SMESH::Dimension enumeration)
+  * \retval CORBA::Boolean - TRUE if dimension is supported, FALSE otherwise
+ * 
+ * Verify whether algorithm supports given entity type (see SMESH::Dimension enumeration)
+ */
+//================================================================================  
+CORBA::Boolean SMESH_3D_Algo_i::IsDimSupported( SMESH::Dimension type )
+{
+  return type == SMESH::DIM_3D;
+}
+