Salome HOME
Fix for problem: Preferences-Mesh-General tab: Display modes ?Nodes? and ?Shrink...
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_StartEndLength_i.cxx
index 1d175ea632c13158ec2971bcfe88c8844105af3e..56ce6f51d3725d0fbaea397c9c4b66b4c7d3e182 100644 (file)
@@ -128,3 +128,18 @@ CORBA::Double StdMeshers_StartEndLength_i::GetLength( CORBA::Boolean theIsStart)
   MESSAGE( "StdMeshers_StartEndLength_i::GetImpl" );
   return ( ::StdMeshers_StartEndLength* )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_StartEndLength_i::IsDimSupported( SMESH::Dimension type )
+{
+  return type == SMESH::DIM_1D;
+}
+