Version: 9.16.0
SMESH::Filter::Criterion Struct Reference

Structure containing information about one criterion Type - FT_Taper, FT_Skew ... Compare - FT_LessThan, FT_MoreThan, FT_EqualTo Threshold - threshold value UnaryOp - unary logical operation: FT_LogicalNOT or FT_Undefined BinaryOp - binary logical operation FT_LogicalAND, FT_LogicalOR or (FT_Undefined must be for the last criterion) ThresholdStr - Threshold value defined as string. More...

import"SMESH_Filter.idl";

Data Fields

long Type
 
long Compare
 
double Threshold
 
string ThresholdStr
 
string ThresholdID
 
long UnaryOp
 
long BinaryOp
 
double Tolerance
 
ElementType TypeOfElement
 
long Precision
 

Detailed Description

Structure containing information about one criterion Type - FT_Taper, FT_Skew ... Compare - FT_LessThan, FT_MoreThan, FT_EqualTo Threshold - threshold value UnaryOp - unary logical operation: FT_LogicalNOT or FT_Undefined BinaryOp - binary logical operation FT_LogicalAND, FT_LogicalOR or (FT_Undefined must be for the last criterion) ThresholdStr - Threshold value defined as string.

Used for:

  1. Diapason of identifiers. Example: "1,2,3,5-10,12,27-29".
  2. Storing name of shape.
  3. Storing group color "0.2;0;0.5".
  4. Storing point coordinates. ThresholdID - One more threshold value defined as string. Used for:
  1. Storing id of shape Tolerance - Tolerance is used for
  1. Comparison of real values.
  2. Detection of geometrical coincidence. TypeOfElement - type of element SMESH::NODE, SMESH::FACE etc. Precision - Precision of numerical functors

Field Documentation

◆ BinaryOp

◆ Compare

◆ Precision

◆ Threshold

◆ ThresholdID

◆ ThresholdStr

◆ Tolerance

◆ Type

◆ TypeOfElement

◆ UnaryOp