From fd1707fca8c4592616eb66d3514983a2be408ce3 Mon Sep 17 00:00:00 2001 From: sln Date: Tue, 23 Aug 2005 08:34:05 +0000 Subject: [PATCH] Dimension enumeration and IsDimSupported method added --- idl/SMESH_Hypothesis.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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; -- 2.39.2