// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
#include "SALOME_Exception.idl"
#include "SALOME_GenericObj.idl"
+#include "GEOM_Gen.idl"
#include "SMESH_Mesh.idl"
-
-module GEOM
-{
- interface GEOM_Object;
-};
+#include "GEOM_Gen.idl"
module SMESH
void SetElementType( in ElementType theType );
void SetShapeName( in string theName );
- string GetShapeName();
+ void SetShape( in string theID, in string theName );
+ string GetShapeName();
+ string GetShapeID();
};
/*!
void SetTolerance( in double theToler );
double GetTolerance();
void SetShapeName( in string theName, in ElementType theType );
+ void SetShape( in string theID, in string theName, in ElementType theType );
string GetShapeName();
+ string GetShapeID();
};
void SetElementType( in ElementType theType );
void SetShapeName( in string theName );
+ void SetShape( in string theID, in string theName );
string GetShapeName();
+ string GetShapeID();
};
/*!
* ThresholdStr - Threshold value defined as string. Used for:
* 1. Diaposon of identifiers. Example: "1,2,3,5-10,12,27-29"
* 2. BelongToGeom predicate for storing name of shape
+ * ThresholdID - One more threshold value defined as string. Used for:
+ * 1. BelongToGeom predicate for storing id of shape
* Tolerance - Tolerance is used for comparators (EqualTo comparision) and for
* "Belong to plane" and "Belong to cylinder" predicates
* TypeOfElement - type of element SMESH::NODE, SMESH::FACE (used by BelongToGeom predicate only)
long Compare;
double Threshold;
string ThresholdStr;
+ string ThresholdID;
long UnaryOp;
long BinaryOp;
double Tolerance;