From: sln Date: Tue, 23 Aug 2005 08:34:05 +0000 (+0000) Subject: Dimension enumeration and IsDimSupported method added X-Git-Tag: T_3_0_2a1~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fd1707fca8c4592616eb66d3514983a2be408ce3;p=modules%2Fsmesh.git Dimension enumeration and IsDimSupported method added --- diff --git a/idl/SMESH_Hypothesis.idl b/idl/SMESH_Hypothesis.idl index 6389d724f..69832b9ed 100644 --- a/idl/SMESH_Hypothesis.idl +++ b/idl/SMESH_Hypothesis.idl @@ -31,6 +31,13 @@ module SMESH { + enum Dimension + { + DIM_1D, + DIM_2D, + DIM_3D + }; + interface SMESH_Hypothesis : SALOME::GenericObj { /*! @@ -47,6 +54,11 @@ module SMESH * Get the internal Id */ long GetId(); + + /*! + * Verify whether hypothesis supports given entity type + */ + boolean IsDimSupported( in Dimension type ); }; typedef sequence ListOfHypothesisName;