NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_HelixBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_HelixBuilder.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/Expression.hxx>
22
#include <NXOpen/GeometricUtilities_LawBuilder.hxx>
23
#include <NXOpen/GeometricUtilities_OnPathDimensionBuilder.hxx>
24
#include <NXOpen/Features_FeatureBuilder.hxx>
25
#include <NXOpen/Section.hxx>
26
#include <NXOpen/libnxopencpp_features_exports.hxx>
27
#ifdef _MSC_VER
28
#pragma warning(push)
29
#pragma warning(disable:4996)
30
#endif
31
#ifdef __GNUC__
32
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33
#endif
34
namespace
NXOpen
35
{
36
namespace
Features
37
{
38
class
HelixBuilder
;
39
}
40
class
CoordinateSystem
;
41
class
Expression
;
42
namespace
Features
43
{
44
class
FeatureBuilder
;
45
}
46
namespace
GeometricUtilities
47
{
48
class
LawBuilder
;
49
}
50
namespace
GeometricUtilities
51
{
52
class
OnPathDimensionBuilder
;
53
}
54
class
Section
;
55
namespace
Features
56
{
57
class
_HelixBuilderBuilder;
58
class
HelixBuilderImpl;
91
class
NXOPENCPP_FEATURESEXPORT HelixBuilder :
public
NXOpen::Features::FeatureBuilder
92
{
94
public
:
enum
Types
95
{
96
TypesAlongVector
,
97
TypesAlongSpine
98
};
99
100
public
:
enum
OrientationOptions
101
{
102
OrientationOptionsInferred
,
103
OrientationOptionsSpecified
104
};
105
106
public
:
enum
SizeOptions
107
{
108
SizeOptionsDiameter
,
109
SizeOptionsRadius
110
};
111
112
public
:
enum
LengthMethods
113
{
114
LengthMethodsLimits
,
115
LengthMethodsTurns
116
};
117
118
public
:
enum
TurnDirections
119
{
120
TurnDirectionsRightHand
,
121
TurnDirectionsLeftHand
122
};
123
private
:
HelixBuilderImpl
* m_helixbuilder_impl;
124
private
:
friend
class
_HelixBuilderBuilder;
125
protected
:
HelixBuilder
();
126
public
:
~HelixBuilder
();
130
public
:
NXOpen::Features::HelixBuilder::Types
Type
131
(
132
);
136
public
:
void
SetType
137
(
138
NXOpen::Features::HelixBuilder::Types
type
139
);
143
public
:
NXOpen::CoordinateSystem
*
CoordinateSystem
144
(
145
);
149
public
:
void
SetCoordinateSystem
150
(
151
NXOpen::CoordinateSystem
* coordinateSystem
152
);
156
public
:
NXOpen::Expression
*
StartAngle
157
(
158
);
162
public
:
NXOpen::Section
*
Spine
163
(
164
);
168
public
:
NXOpen::Features::HelixBuilder::OrientationOptions
OrientationOption
169
(
170
);
174
public
:
void
SetOrientationOption
175
(
176
NXOpen::Features::HelixBuilder::OrientationOptions
orientationOption
177
);
181
public
:
NXOpen::Features::HelixBuilder::SizeOptions
SizeOption
182
(
183
);
187
public
:
void
SetSizeOption
188
(
189
NXOpen::Features::HelixBuilder::SizeOptions
sizeOption
190
);
194
public
:
NXOpen::GeometricUtilities::LawBuilder
*
SizeLaw
195
(
196
);
200
public
:
NXOpen::GeometricUtilities::LawBuilder
*
PitchLaw
201
(
202
);
206
public
:
NXOpen::Features::HelixBuilder::LengthMethods
LengthMethod
207
(
208
);
212
public
:
void
SetLengthMethod
213
(
214
NXOpen::Features::HelixBuilder::LengthMethods
lengthMethod
215
);
220
public
:
NX_DEPRECATED
(
"Deprecated in NX12.0.0. Use NXOpen::Features::HelixBuilder::Turns"
)
NXString
NumberOfTurns
221
(
222
);
227
public:
NX_DEPRECATED
(
"Deprecated in NX12.0.0. Use NXOpen::Features::HelixBuilder::Turns"
)
void
SetNumberOfTurns
228
(
229
const
NXString
& numberOfTurns
230
);
235
void
SetNumberOfTurns
236
(
237
const
char
* numberOfTurns
238
);
242
public:
NXOpen
::
Expression
*
Turns
243
(
244
);
248
public:
NXOpen
::
GeometricUtilities
::OnPathDimensionBuilder *
StartLimit
249
(
250
);
254
public:
NXOpen
::
GeometricUtilities
::OnPathDimensionBuilder *
EndLimit
255
(
256
);
260
public:
NXOpen
::
Features
::HelixBuilder::
TurnDirections
TurnDirection
261
(
262
);
266
public:
void
SetTurnDirection
267
(
268
NXOpen
::
Features
::HelixBuilder::
TurnDirections
turnDirection
269
);
273
public:
double
DistanceTolerance
274
(
275
);
279
public:
void
SetDistanceTolerance
280
(
281
double
distanceTolerance
282
);
286
public:
double
AngleTolerance
287
(
288
);
292
public:
void
SetAngleTolerance
293
(
294
double
angleTolerance
295
);
299
public:
void
Evaluate
300
(
301
);
302
};
303
}
304
}
305
#ifdef _MSC_VER
306
#pragma warning(pop)
307
#endif
308
#ifdef __GNUC__
309
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
310
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
311
#endif
312
#endif
313
#undef EXPORTLIBRARY