Defines parameters used by DFM analyzers. More...
Public Member Functions | |
DFMBase_StandardSizeParameters () | |
Constructor. | |
DFMBase_StandardSizeParameters (const MTKBase_DoubleList &theStandardSizeList, double theValidationTolerance) | |
Constructor. | |
const MTKBase_DoubleList & | StandardSizeList () const |
Returns standard size list. | |
MTKBase_DoubleList & | StandardSizeList () |
Returns reference to standard size list. | |
double | ValidationTolerance () const |
void | SetValidationTolerance (double theValidationTolerance) |
Defines parameters used by DFM analyzers.
These parameters used to compare an actual feature parameter (e.g. hole diameter in machining) to standard values describes in StandardSizeList() using ValidationTolerance().
If the input value is not a standard one, then it fails the following condition:
\[ \large |V - v_i| \leq Tol \]
\[ \begin{aligned} & \small V - \text{analyzed value} \\ & \small v_i - \text{standard value from range [0, list size]} \\ & \small Tol - \text{validation tolerance} \end{aligned} \]
cadex::DFMBase_StandardSizeParameters::DFMBase_StandardSizeParameters | ( | ) |
Constructor.
Sets default parameter values.
cadex::DFMBase_StandardSizeParameters::DFMBase_StandardSizeParameters | ( | const MTKBase_DoubleList & | theStandardSizeList, |
double | theValidationTolerance ) |
Constructor.
Creates standard size parameters from standard size list and validation tolerance
void cadex::DFMBase_StandardSizeParameters::SetValidationTolerance | ( | double | theValidationTolerance | ) |
! Set validation tolerance. theValidationTolerance should be greater or equal to zero
double cadex::DFMBase_StandardSizeParameters::ValidationTolerance | ( | ) | const |
Returns validation tolerance. It's used to compare actual feature parameter with values from StandardSizeList().