Dimension enumeration and IsDimSupported method added

This commit is contained in:
sln 2005-08-23 08:34:05 +00:00
parent 3ee8318e9b
commit fd1707fca8

View File

@ -31,6 +31,13 @@
module SMESH module SMESH
{ {
enum Dimension
{
DIM_1D,
DIM_2D,
DIM_3D
};
interface SMESH_Hypothesis : SALOME::GenericObj interface SMESH_Hypothesis : SALOME::GenericObj
{ {
/*! /*!
@ -47,6 +54,11 @@ module SMESH
* Get the internal Id * Get the internal Id
*/ */
long GetId(); long GetId();
/*!
* Verify whether hypothesis supports given entity type
*/
boolean IsDimSupported( in Dimension type );
}; };
typedef sequence<string> ListOfHypothesisName; typedef sequence<string> ListOfHypothesisName;