1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _IGESDimen_DimensionTolerance_HeaderFile
#define _IGESDimen_DimensionTolerance_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESDimen_DimensionTolerance_HeaderFile
#include <Handle_IGESDimen_DimensionTolerance.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
//! defines Dimension Tolerance, Type <406>, Form <29> <br>
//! in package IGESDimen <br>
//! Provides tolerance information for a dimension which <br>
//! can be used by the receiving system to regenerate the <br>
//! dimension. <br>
class IGESDimen_DimensionTolerance : public IGESData_IGESEntity {
public:
Standard_EXPORT IGESDimen_DimensionTolerance();
//! This method is used to set the fields of the class <br>
//! DimensionTolerance <br>
//! - nbPropVal : Number of property values, default = 8 <br>
//! - aSecTolFlag : Secondary Tolerance Flag <br>
//! 0 = Applies to primary dimension <br>
//! 1 = Applies to secondary dimension <br>
//! 2 = Display values as fractions <br>
//! - aTolType : Tolerance Type <br>
//! 1 = Bilateral <br>
//! 2 = Upper/Lower <br>
//! 3 = Unilateral Upper <br>
//! 4 = Unilateral Lower <br>
//! 5 = Range - min before max <br>
//! 6 = Range - min after max <br>
//! 7 = Range - min above max <br>
//! 8 = Range - min below max <br>
//! 9 = Nominal + Range - min above max <br>
//! 10 = Nominal + Range - min below max <br>
//! - aTolPlaceFlag : Tolerance Placement Flag <br>
//! 1 = Before nominal value <br>
//! 2 = After nominal value <br>
//! 3 = Above nominal value <br>
//! 4 = Below nominal value <br>
//! - anUpperTol : Upper Tolerance <br>
//! - aLowerTol : Lower Tolerance <br>
//! - aSignFlag : Sign Suppression Flag <br>
//! - aFracFlag : Fraction Flag <br>
//! 0 = Display values as decimal numbers <br>
//! 1 = Display values as mixed fractions <br>
//! 2 = Display values as fractions <br>
//! - aPrecision : Precision Value <br>
Standard_EXPORT 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) ;
//! returns the number of property values, always = 8 <br>
Standard_EXPORT Standard_Integer NbPropertyValues() const;
//! returns the Secondary Tolerance Flag <br>
Standard_EXPORT Standard_Integer SecondaryToleranceFlag() const;
//! returns the Tolerance Type <br>
Standard_EXPORT Standard_Integer ToleranceType() const;
//! returns the Tolerance Placement Flag, default = 2 <br>
Standard_EXPORT Standard_Integer TolerancePlacementFlag() const;
//! returns the Upper or Bilateral Tolerance Value <br>
Standard_EXPORT Standard_Real UpperTolerance() const;
//! returns the Lower Tolerance Value <br>
Standard_EXPORT Standard_Real LowerTolerance() const;
//! returns the Sign Suppression Flag <br>
Standard_EXPORT Standard_Boolean SignSuppressionFlag() const;
//! returns the Fraction Flag <br>
Standard_EXPORT Standard_Integer FractionFlag() const;
//! returns the Precision for Value Display <br>
Standard_EXPORT Standard_Integer Precision() const;
DEFINE_STANDARD_RTTI(IGESDimen_DimensionTolerance)
protected:
private:
Standard_Integer theNbPropertyValues;
Standard_Integer theSecondaryToleranceFlag;
Standard_Integer theToleranceType;
Standard_Integer theTolerancePlacementFlag;
Standard_Real theUpperTolerance;
Standard_Real theLowerTolerance;
Standard_Boolean theSignSuppressionFlag;
Standard_Integer theFractionFlag;
Standard_Integer thePrecision;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|