*/
struct HistogramRectangle
{
- smIdType nbEvents;
+ long nbEvents;
double min;
double max;
};
*/
interface NumericalFunctor: Functor
{
- double GetValue ( in smIdType theElementId );
- boolean IsApplicable( in smIdType theElementId );
+ double GetValue ( in long theElementId );
+ boolean IsApplicable( in long theElementId );
Histogram GetHistogram ( in short nbIntervals, in boolean isLogarithmic );
Histogram GetLocalHistogram( in short nbIntervals, in boolean isLogarithmic,
* Set precision for calculation. It is a position after point which is
* used to functor value after calculation.
*/
- void SetPrecision( in smIdType thePrecision );
- smIdType GetPrecision();
+ void SetPrecision( in long thePrecision );
+ long GetPrecision();
};
interface MinimumAngle : NumericalFunctor{};
interface AspectRatio : NumericalFunctor{};
struct Value
{
double myLength;
- smIdType myPnt1, myPnt2;
+ long myPnt1, myPnt2;
};
typedef sequence<Value> Values;
Values GetValues();
{
struct Value
{
- smIdType myNbConnects;
- smIdType myPnt1, myPnt2;
+ long myNbConnects;
+ long myPnt1, myPnt2;
};
typedef sequence<Value> Values;
*/
interface Predicate: Functor
{
- boolean IsSatisfy( in smIdType thEntityId );
- smIdType NbSatisfying( in SMESH::SMESH_IDSource obj );
+ boolean IsSatisfy( in long thEntityId );
+ long NbSatisfying( in SMESH::SMESH_IDSource obj );
};
/*!
{
struct Border
{
- smIdType myElemId;
- smIdType myPnt1, myPnt2;
+ long myElemId;
+ long myPnt1, myPnt2;
};
typedef sequence<Border> Borders;
Borders GetBorders();
* if normal of a face has angle with the threshold face less than a tolerance.
*/
interface CoplanarFaces : Predicate {
- void SetFace ( in smIdType theFaceID );
+ void SetFace ( in long theFaceID );
void SetTolerance( in double theToler );
};
void SetElementType( in ElementType type );
void SetPoint ( in double x, in double y, in double z );
void SetVertex ( in GEOM::GEOM_Object vertex );
- void SetNode ( in smIdType nodeID );
+ void SetNode ( in long nodeID );
string GetThreshold ( out ThresholdType type );
void SetThreshold ( in string threshold, in ThresholdType type )
raises (SALOME::SALOME_Exception);
*/
struct Criterion
{
- smIdType Type;
- smIdType Compare;
+ long Type;
+ long Compare;
double Threshold;
string ThresholdStr;
string ThresholdID;
- smIdType UnaryOp;
- smIdType BinaryOp;
+ long UnaryOp;
+ long BinaryOp;
double Tolerance;
ElementType TypeOfElement;
- smIdType Precision;
+ long Precision;
};
typedef sequence<Criterion> Criteria;
* Query methods
*/
boolean IsPresent( in string aFilterName );
- smIdType NbFilters( in ElementType aType );
+ long NbFilters( in ElementType aType );
string_array GetNames( in ElementType aType );
string_array GetAllNames();
void SetFileName( in string aFilterName );