Mathematics CATTolerance

Usage: you must use this class as is. You should never derive it.


public class CATTolerance

Class representing a set of geometric and mathematical tolerances, in order to be compliant with Extreme Scale models (either Small Scale or Large one)


Method Index


o EpsgForAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to an angle.
o EpsgForLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a length.
o EpsgForRelativeTest()
Returns a numerical tolerance which is the same for all scales.
o EpsgForSqrtAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a sqrt of length.
o EpsgForSqrtLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a sqrt of length.
o EpsgForSquareAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to the square of an angle.
o EpsgForSquareLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a square length.
o EpsilonForAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to an angle.
o EpsilonForLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a length.
o EpsilonForRelativeTest()
Returns a numerical tolerance which is the same for all scales.
o EpsilonForSqrtAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a sqrt of length.
o EpsilonForSqrtLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a sqrt of length.
o EpsilonForSquareAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to the square of an angle.
o EpsilonForSquareLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a square length.
o EpsilonfForRelativeTest()
Returns a numerical tolerance (float) which is the same for all scales.
o GetRange()
o GetScaleCategory()
o Infinite()
Returns the maximum float value (non-scaled value).
o LargeEpsgForAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to an angle.
o LargeEpsgForLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a length.
o LargeEpsgForRelativeTest()
Returns a numerical tolerance which is the same for all scales.
o ModelInfinite()
Retrieves the infinite value.
o ModelSize()
Retrieves the model size.
o SqrtEpsgForRelativeTest()
The numerical tolerance returned by SqrtEpsgForRelativeTest()is the same for all scales.
o SqrtEpsilonForRelativeTest()
Returns a numerical tolerance which is the same for all scales.
o SquareEpsgForRelativeTest()
Returns a numerical tolerance which is the same for all scales.
o SquareEpsilonForRelativeTest()
Returns a numerical tolerance which is the same for all scales.

Enumerated Type Index


o ResolutionType
Same definition as in CATGeoFactory.

Methods


o EpsgForAngleTest
public EpsgForAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to an angle. For all scales, it is equal to CATEpsg = 1.e-12
o EpsgForLengthTest
public EpsgForLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a length. homogeneous to a length. For standard scale, it is equal to CATEpsg = 1.e-12 In general it is equal to CATEpsg * scale
o EpsgForRelativeTest
public EpsgForRelativeTest()
Returns a numerical tolerance which is the same for all scales. It is equal to CATEpsg=1.e-12 (You can refer to CATMathLimits.h)
o EpsgForSqrtAngleTest
public EpsgForSqrtAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a sqrt of length. For all scales, it is equal to sqrt(CATEpsg) = 1.e-6
o EpsgForSqrtLengthTest
public EpsgForSqrtLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a sqrt of length. For standard scale, it is equal to sqrt(CATEpsg) = 1.e-6 In general it is equal to sqrt(CATEpsg * scale)
o EpsgForSquareAngleTest
public EpsgForSquareAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to the square of an angle. For all scales, it is equal to CATEpsg **2 = 1.e-24 (equal to CATSquareEpsg in CATMathlimits)
o EpsgForSquareLengthTest
public EpsgForSquareLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a square length. For standard scale, it is equal to CATEpsg **2 = 1.e-24 (equal to CATSquareEpsg in CATMathlimits) In general it is equal to (CATEpsg * scale)**2
o EpsilonForAngleTest
public EpsilonForAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to an angle. For all scales, it is equal to CATEpsilon = 1.e-15
o EpsilonForLengthTest
public EpsilonForLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a length. For standard scale, it is equal to CATEpsilon = 1.e-15 In general it is equal to CATEpsilon * scale
o EpsilonForRelativeTest
public EpsilonForRelativeTest()
Returns a numerical tolerance which is the same for all scales. It is equal to CATEpsilon=1.e-15 (You can refer to CATMathLimits.h)
o EpsilonForSqrtAngleTest
public EpsilonForSqrtAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a sqrt of length. For all scales, it is equal to sqrt(CATEpsilon) = sqrt(1.e-15)
o EpsilonForSqrtLengthTest
public EpsilonForSqrtLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a sqrt of length. For standard scale, it is equal to sqrt(CATEpsilon) = sqrt(1.e-15) In general it is equal to sqrt(CATEpsilon * scale)
o EpsilonForSquareAngleTest
public EpsilonForSquareAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to the square of an angle. For all scales, it is equal to CATEpsilon **2 = 1.e-30 (equal to CATSquareEpsilon in CATMathlimits)
o EpsilonForSquareLengthTest
public EpsilonForSquareLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a square length. For standard scale, it is equal to CATEpsilon **2 = 1.e-30 (equal to CATSquareEpsilon in CATMathlimits) In general it is equal to (CATEpsilon * scale)**2
o EpsilonfForRelativeTest
public EpsilonfForRelativeTest()
Returns a numerical tolerance (float) which is the same for all scales. It is equal to CATEpsilonf=1.e-14 (You can refer to CATMathLimitsf.h)
o GetRange
public GetRange()
o GetScaleCategory
public GetScaleCategory()
o Infinite
public Infinite()
Returns the maximum float value (non-scaled value).
o LargeEpsgForAngleTest
public LargeEpsgForAngleTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to an angle. For all scales, it is equal to 1.e-6
o LargeEpsgForLengthTest
public LargeEpsgForLengthTest()
Returns a numerical tolerance used to perform absolute tests homogeneous to a length. For standard scale, it is equal to 1.e-6 (that corresponds to CATSqrtEpsg in CATMathLimits.h) In general it is equal to 1.e-6 * scale
o LargeEpsgForRelativeTest
public LargeEpsgForRelativeTest()
Returns a numerical tolerance which is the same for all scales. It is equal to 1.e-6
o ModelInfinite
public ModelInfinite()
Retrieves the infinite value.
o ModelSize
public ModelSize()
Retrieves the model size.
o SqrtEpsgForRelativeTest
public SqrtEpsgForRelativeTest()
The numerical tolerance returned by SqrtEpsgForRelativeTest()is the same for all scales. It is equal to CATSqrtEspg=1.e-6 (You can refer to CATMathLimits.h)
o SqrtEpsilonForRelativeTest
public SqrtEpsilonForRelativeTest()
Returns a numerical tolerance which is the same for all scales. It is equal to CATSqrtEspilon=sqrt(1.e-15) (You can refer to CATMathLimits.h)
o SquareEpsgForRelativeTest
public SquareEpsgForRelativeTest()
Returns a numerical tolerance which is the same for all scales. It is equal to CATSquareEpsg=1.e-24 (You can refer to CATMathLimits.h)
o SquareEpsilonForRelativeTest
public SquareEpsilonForRelativeTest()
Returns a numerical tolerance which is the same for all scales. It is equal to CATSquareEpsilon=1.e-30 (You can refer to CATMathLimits.h)

Enumerated Types


o ResolutionType
enum ResolutionType {
  CatC0,
  CatC1,
  CatC2
}
Same definition as in CATGeoFactory.h

This object is included in the file: CATTolerance.h
If needed, your Imakefile.mk should include the module: CATMathematics

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.