Open CASCADE Technology 6.6.0
Public Member Functions
IGESDimen_DimensionTolerance Class Reference

defines Dimension Tolerance, Type <406>, Form <29>
in package IGESDimen
Provides tolerance information for a dimension which
can be used by the receiving system to regenerate the
dimension.

#include <IGESDimen_DimensionTolerance.hxx>

Inheritance diagram for IGESDimen_DimensionTolerance:
Inheritance graph
[legend]

Public Member Functions

 IGESDimen_DimensionTolerance ()
void Init (const Standard_Integer nbPropVal, const Standard_Integer aSecTolFlag, const Standard_Integer aTolType, const Standard_Integer aTolPlaceFlag, const Standard_Real anUpperTol, const Standard_Real aLowerTol, const Standard_Boolean aSignFlag, const Standard_Integer aFracFlag, const Standard_Integer aPrecision)
 This method is used to set the fields of the class
DimensionTolerance

Standard_Integer NbPropertyValues () const
 returns the number of property values, always = 8

Standard_Integer SecondaryToleranceFlag () const
 returns the Secondary Tolerance Flag

Standard_Integer ToleranceType () const
 returns the Tolerance Type

Standard_Integer TolerancePlacementFlag () const
 returns the Tolerance Placement Flag, default = 2

Standard_Real UpperTolerance () const
 returns the Upper or Bilateral Tolerance Value

Standard_Real LowerTolerance () const
 returns the Lower Tolerance Value

Standard_Boolean SignSuppressionFlag () const
 returns the Sign Suppression Flag

Standard_Integer FractionFlag () const
 returns the Fraction Flag

Standard_Integer Precision () const
 returns the Precision for Value Display


Constructor & Destructor Documentation

IGESDimen_DimensionTolerance::IGESDimen_DimensionTolerance ( )

Member Function Documentation

Standard_Integer IGESDimen_DimensionTolerance::FractionFlag ( ) const
void IGESDimen_DimensionTolerance::Init ( const Standard_Integer  nbPropVal,
const Standard_Integer  aSecTolFlag,
const Standard_Integer  aTolType,
const Standard_Integer  aTolPlaceFlag,
const Standard_Real  anUpperTol,
const Standard_Real  aLowerTol,
const Standard_Boolean  aSignFlag,
const Standard_Integer  aFracFlag,
const Standard_Integer  aPrecision 
)
  • nbPropVal : Number of property values, default = 8
  • aSecTolFlag : Secondary Tolerance Flag
    0 = Applies to primary dimension
    1 = Applies to secondary dimension
    2 = Display values as fractions
  • aTolType : Tolerance Type
    1 = Bilateral
    2 = Upper/Lower
    3 = Unilateral Upper
    4 = Unilateral Lower
    5 = Range - min before max
    6 = Range - min after max
    7 = Range - min above max
    8 = Range - min below max
    9 = Nominal + Range - min above max
    10 = Nominal + Range - min below max
  • aTolPlaceFlag : Tolerance Placement Flag
    1 = Before nominal value
    2 = After nominal value
    3 = Above nominal value
    4 = Below nominal value
  • anUpperTol : Upper Tolerance
  • aLowerTol : Lower Tolerance
  • aSignFlag : Sign Suppression Flag
  • aFracFlag : Fraction Flag
    0 = Display values as decimal numbers
    1 = Display values as mixed fractions
    2 = Display values as fractions
  • aPrecision : Precision Value
Standard_Real IGESDimen_DimensionTolerance::LowerTolerance ( ) const
Standard_Integer IGESDimen_DimensionTolerance::NbPropertyValues ( ) const
Standard_Integer IGESDimen_DimensionTolerance::Precision ( ) const
Standard_Integer IGESDimen_DimensionTolerance::SecondaryToleranceFlag ( ) const
Standard_Boolean IGESDimen_DimensionTolerance::SignSuppressionFlag ( ) const
Standard_Integer IGESDimen_DimensionTolerance::TolerancePlacementFlag ( ) const
Standard_Integer IGESDimen_DimensionTolerance::ToleranceType ( ) const
Standard_Real IGESDimen_DimensionTolerance::UpperTolerance ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines