NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_PolylineBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_PolylineBuilder.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/Features_GeometricConstraintDataManager.hxx>
22
#include <NXOpen/GeometricUtilities_TransformerData.hxx>
23
#include <NXOpen/Features_FeatureBuilder.hxx>
24
#include <NXOpen/libnxopencpp_features_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
Features
35
{
36
class
PolylineBuilder
;
37
}
38
class
CoordinateSystem
;
39
class
Direction
;
40
namespace
Features
41
{
42
class
FeatureBuilder
;
43
}
44
namespace
Features
45
{
46
class
GeometricConstraintDataManager
;
47
}
48
namespace
GeometricUtilities
49
{
50
class
TransformerData
;
51
}
52
class
NXObject
;
53
class
Plane
;
54
class
Polyline
;
55
namespace
Features
56
{
57
class
_PolylineBuilderBuilder;
58
class
PolylineBuilderImpl;
77
class
NXOPENCPP_FEATURESEXPORT PolylineBuilder :
public
NXOpen::Features::FeatureBuilder
78
{
80
public
:
enum
DrawingPlaneOptions
81
{
82
DrawingPlaneOptionsView
,
83
DrawingPlaneOptionsXY
,
84
DrawingPlaneOptionsYZ
,
85
DrawingPlaneOptionsXZ
,
86
DrawingPlaneOptionsGeneral
87
};
88
89
public
:
enum
MovementMethodType
90
{
91
MovementMethodTypeWCS
,
92
MovementMethodTypeView
,
93
MovementMethodTypeVector
,
94
MovementMethodTypePlane
,
95
MovementMethodTypeSegment
96
};
97
98
public
:
enum
WCSOptionType
99
{
100
WCSOptionTypeX
,
101
WCSOptionTypeY
,
102
WCSOptionTypeZ
,
103
WCSOptionTypeYZ
,
104
WCSOptionTypeXZ
,
105
WCSOptionTypeXY
106
};
107
private
:
PolylineBuilderImpl
* m_polylinebuilder_impl;
108
private
:
friend
class
_PolylineBuilderBuilder;
109
protected
:
PolylineBuilder
();
110
public
:
~PolylineBuilder
();
114
public
:
bool
IsPeriodic
115
(
116
);
120
public
:
void
SetPeriodic
121
(
122
bool
periodicity
123
);
127
public
:
NXOpen::Features::PolylineBuilder::DrawingPlaneOptions
DrawingPlaneOption
128
(
129
);
133
public
:
void
SetDrawingPlaneOption
134
(
135
NXOpen::Features::PolylineBuilder::DrawingPlaneOptions
planeOption
136
);
140
public
:
NXOpen::Plane
*
DrawingPlane
141
(
142
);
146
public
:
void
SetDrawingPlane
147
(
148
NXOpen::Plane
* drawingPlane
149
);
153
public
:
NXOpen::Features::PolylineBuilder::MovementMethodType
MovementMethod
154
(
155
);
159
public
:
void
SetMovementMethod
160
(
161
NXOpen::Features::PolylineBuilder::MovementMethodType
movementMethod
162
);
166
public
:
NXOpen::Features::PolylineBuilder::WCSOptionType
WCSOption
167
(
168
);
172
public
:
void
SetWCSOption
173
(
174
NXOpen::Features::PolylineBuilder::WCSOptionType
wcsOption
175
);
179
public
:
NXOpen::GeometricUtilities::TransformerData
*
Transformer
180
(
181
);
185
public
:
NXOpen::Direction
*
MovementVector
186
(
187
);
191
public
:
void
SetMovementVector
192
(
193
NXOpen::Direction
* movementVector
194
);
198
public
:
NXOpen::Plane
*
MovementPlane
199
(
200
);
204
public
:
void
SetMovementPlane
205
(
206
NXOpen::Plane
* movementPlane
207
);
211
public
:
NXOpen::Features::GeometricConstraintDataManager
*
ConstraintManager
212
(
213
);
217
public
:
void
EditPolyline
218
(
219
NXOpen::NXObject
* polyline
220
);
224
public
:
void
InsertPoint
225
(
226
int
afterIndex
227
);
231
public
:
void
Evaluate
232
(
233
);
237
public
:
bool
HasPlaneConstraint
238
(
239
);
243
public
:
void
SetHasPlaneConstraint
244
(
245
bool
hasConstraint
246
);
250
public
:
NXOpen::CoordinateSystem
*
ConstraintPlane
251
(
252
);
256
public
:
void
SetConstraintPlane
257
(
258
NXOpen::CoordinateSystem
* coordinateSystem
259
);
263
public
:
void
UpdateOnConstraintPlane
264
(
265
);
269
public
:
bool
CanUseOrientationTool
270
(
271
);
275
public
:
void
SetCanUseOrientationTool
276
(
277
bool
useOrientationTool
278
);
282
public
:
NXOpen::Polyline
*
Curve
283
(
284
);
285
};
286
}
287
}
288
#ifdef _MSC_VER
289
#pragma warning(pop)
290
#endif
291
#ifdef __GNUC__
292
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
293
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
294
#endif
295
#endif
296
#undef EXPORTLIBRARY