All Frameworks  Class Hierarchy  This Framework  Previous  Indexes

Mathematics Class CATTolerance

Mathematics.CATCGMVirtual
  |
  +---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)


Constructor and Destructor Index


o CATTolerance()
o ~CATTolerance()

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 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.

Data Member Index


o _PrivateDoNotUse_IsDefaultTolerance

Constructor and Destructor


o CATTolerance
public CATTolerance()
o ~CATTolerance
public virtual ~CATTolerance()

Methods


o EpsgForAngleTest
public INLINE CATAngle EpsgForAngleTest()const
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 INLINE double EpsgForLengthTest()const
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 INLINE double EpsgForRelativeTest()const
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 INLINE double EpsgForSqrtAngleTest()const
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 INLINE double EpsgForSqrtLengthTest()const
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 INLINE double EpsgForSquareAngleTest()const
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 INLINE double EpsgForSquareLengthTest()const
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 INLINE CATAngle EpsilonForAngleTest()const
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 INLINE double EpsilonForLengthTest()const
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 INLINE double EpsilonForRelativeTest()const
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 INLINE double EpsilonForSqrtAngleTest()const
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 INLINE double EpsilonForSqrtLengthTest()const
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 INLINE double EpsilonForSquareAngleTest()const
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 INLINE double EpsilonForSquareLengthTest()const
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 INLINE float EpsilonfForRelativeTest()const
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 Infinite
public INLINE double Infinite()const
Returns the maximum float value (non-scaled value.
o LargeEpsgForAngleTest
public INLINE CATAngle LargeEpsgForAngleTest()const
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 INLINE double LargeEpsgForLengthTest()const
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 inline double LargeEpsgForRelativeTest()const
Returns a numerical tolerance which is the same for all scales. It is equal to 1.e-6
o ModelInfinite
public INLINE double ModelInfinite()const
Retrieves the infinite value.
o ModelSize
public INLINE double ModelSize()const
Retrieves the model size.
o SqrtEpsgForRelativeTest
public INLINE double SqrtEpsgForRelativeTest()const
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 INLINE double SqrtEpsilonForRelativeTest()const
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 INLINE double SquareEpsgForRelativeTest()const
* 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 INLINE double SquareEpsilonForRelativeTest()const
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

Data Members


o _PrivateDoNotUse_IsDefaultTolerance
  public int _PrivateDoNotUse_IsDefaultTolerance

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

Copyright © 2003, Dassault Systèmes. All rights reserved.