Salome HOME
PAL9022. Improve methods binding nodes to shape, allow binding nodes to solid
[modules/smesh.git] / src / SMESH_I / SMESH_2D_Algo_i.cxx
index 833be2ac9451880abd7d1e3839831ddf3554e3f0..00744eea49a7f4d1a649eec02694f3f39d379194 100644 (file)
@@ -59,3 +59,17 @@ SMESH_2D_Algo_i::~SMESH_2D_Algo_i()
 {
   MESSAGE( "SMESH_2D_Algo_i::~SMESH_2D_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_2D_Algo_i::IsDimSupported( SMESH::Dimension type )
+{
+  return type == SMESH::DIM_2D;
+}