NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Annotations_LinearTolerance.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++ 接口访问 JA API 的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Annotations_LinearTolerance.ja
9
//
10
// 生成方式:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成 - 请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.hxx>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/Annotations.hxx>
22
#include <NXOpen/Dimensions.hxx>
23
#include <NXOpen/TransientObject.hxx>
24
#include <NXOpen/libnxopencpp_annotations_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
Annotations
35
{
36
class
LinearTolerance
;
37
}
38
class
Expression
;
39
namespace
Annotations
40
{
41
}
42
namespace
Annotations
43
{
44
class
LinearToleranceImpl;
48
class
NXOPENCPP_ANNOTATIONSEXPORT
LinearTolerance
:
public
NXOpen::TransientObject
49
{
50
private
:
LinearToleranceImpl
* m_lineartolerance_impl;
52
public
:
explicit
LinearTolerance
(
void
*ptr);
54
59
public
:
virtual
~LinearTolerance
();
63
public
:
NXOpen::Annotations::ToleranceType
ToleranceType
64
(
65
);
69
public
:
void
SetToleranceType
70
(
71
NXOpen::Annotations::ToleranceType
type
72
);
76
public
:
NXOpen::Annotations::Value
GetUpperToleranceInches
77
(
78
);
82
public
:
void
SetUpperToleranceInches
83
(
84
const
NXOpen::Annotations::Value
& upperToleranceInches
85
);
89
public
:
NXOpen::Annotations::Value
GetLowerToleranceInches
90
(
91
);
95
public
:
void
SetLowerToleranceInches
96
(
97
const
NXOpen::Annotations::Value
& lowerToleranceInches
98
);
102
public
:
NXOpen::Annotations::Value
GetUpperToleranceMm
103
(
104
);
108
public
:
void
SetUpperToleranceMm
109
(
110
const
NXOpen::Annotations::Value
& upperToleranceMm
111
);
115
public
:
NXOpen::Annotations::Value
GetLowerToleranceMm
116
(
117
);
121
public
:
void
SetLowerToleranceMm
122
(
123
const
NXOpen::Annotations::Value
& lowerToleranceMm
124
);
128
public
:
int
PrimaryDimensionDecimalPlaces
129
(
130
);
134
public
:
void
SetPrimaryDimensionDecimalPlaces
135
(
136
int
primaryDimensionDecimalPlaces
137
);
141
public
:
int
DualDimensionDecimalPlaces
142
(
143
);
147
public
:
void
SetDualDimensionDecimalPlaces
148
(
149
int
dualDimensionDecimalPlaces
150
);
154
public
:
int
DualToleranceDecimalPlaces
155
(
156
);
160
public
:
void
SetDualToleranceDecimalPlaces
161
(
162
int
dualToleranceDecimalPlaces
163
);
167
public
:
NXOpen::Annotations::ZeroToleranceDisplayStyle
ZeroToleranceDisplayStyle
168
(
169
);
173
public
:
void
SetZeroToleranceDisplayStyle
174
(
175
NXOpen::Annotations::ZeroToleranceDisplayStyle
zeroDisplayStyle
176
);
180
public
:
NXString
LimitFitDeviation
181
(
182
);
186
public
:
void
SetLimitFitDeviation
187
(
188
const
NXString
& fitDeviation
189
);
193
void
SetLimitFitDeviation
194
(
195
const
char
* fitDeviation
196
);
200
public
:
int
LimitFitGrade
201
(
202
);
206
public
:
void
SetLimitFitGrade
207
(
208
int
fitGrade
209
);
213
public
:
NXOpen::Annotations::FitDisplayStyle
LimitFitDisplayStyle
214
(
215
);
219
public
:
void
SetLimitFitDisplayStyle
220
(
221
NXOpen::Annotations::FitDisplayStyle
fitDisplayStyle
222
);
226
public
:
NXOpen::Annotations::FitAnsiHoleType
LimitFitAnsiHoleType
227
(
228
);
232
public
:
void
SetLimitFitAnsiHoleType
233
(
234
NXOpen::Annotations::FitAnsiHoleType
fitHoleType
235
);
236
};
//lint !e1712 类未定义默认构造函数
237
}
238
}
239
#ifdef _MSC_VER
240
#pragma warning(pop)
241
#endif
242
#ifdef __GNUC__
243
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
244
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
245
#endif
246
#endif
247
#undef EXPORTLIBRARY