NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_TrimCurve2Builder.hxx
1
//--------------------------------------------------------------------------
2
// 版权所有 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API C++接口的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_TrimCurve2Builder.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/GeometricUtilities_CurveOptions.hxx>
22
#include <NXOpen/GeometricUtilities_TrimCurveBoundingObjectBuilder.hxx>
23
#include <NXOpen/Features_FeatureBuilder.hxx>
24
#include <NXOpen/ObjectList.hxx>
25
#include <NXOpen/Section.hxx>
26
#include <NXOpen/ugmath.hxx>
27
#include <NXOpen/libnxopencpp_features_exports.hxx>
28
#ifdef _MSC_VER
29
#pragma warning(push)
30
#pragma warning(disable:4996)
31
#endif
32
#ifdef __GNUC__
33
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34
#endif
35
namespace
NXOpen
36
{
37
namespace
Features
38
{
39
class
TrimCurve2Builder
;
40
}
41
class
Direction
;
42
namespace
Features
43
{
44
class
FeatureBuilder
;
45
}
46
namespace
GeometricUtilities
47
{
48
class
CurveOptions
;
49
}
50
namespace
GeometricUtilities
51
{
52
class
TrimCurveBoundingObjectBuilder
;
53
}
54
namespace
GeometricUtilities
55
{
56
class
TrimCurveBoundingObjectBuilderList
;
57
}
58
class
Section
;
59
namespace
Features
60
{
61
class
_TrimCurve2BuilderBuilder;
62
class
TrimCurve2BuilderImpl;
98
class
NXOPENCPP_FEATURESEXPORT TrimCurve2Builder :
public
NXOpen::Features::FeatureBuilder
99
{
101
public
:
enum
Operation
102
{
103
OperationTrim
,
104
OperationDivide
105
};
106
107
public
:
enum
Direction
108
{
109
DirectionShortest3DDistance
,
110
DirectionAlongDirection
111
};
112
113
public
:
enum
KeepDiscard
114
{
115
KeepDiscardKeep
,
116
KeepDiscardDiscard
117
};
118
119
public
:
enum
CurveExtension
120
{
121
CurveExtensionNatural
,
122
CurveExtensionLinear
,
123
CurveExtensionCircular
,
124
CurveExtensionNone
125
};
126
private
:
TrimCurve2BuilderImpl
* m_trimcurve2builder_impl;
127
private
:
friend
class
_TrimCurve2BuilderBuilder;
128
protected
:
TrimCurve2Builder
();
129
public
:
~TrimCurve2Builder
();
133
public
:
NXOpen::Section
*
CurveToTrim
134
(
135
);
139
public
:
NXOpen::GeometricUtilities::TrimCurveBoundingObjectBuilderList
*
BoundingObjectList
140
(
141
);
145
public
:
NXOpen::Features::TrimCurve2Builder::Operation
OperationOption
146
(
147
);
151
public
:
void
SetOperationOption
152
(
153
NXOpen::Features::TrimCurve2Builder::Operation
operationEnumType
154
);
158
public
:
NXOpen::Features::TrimCurve2Builder::Direction
DirectionOption
159
(
160
);
164
public
:
void
SetDirectionOption
165
(
166
NXOpen::Features::TrimCurve2Builder::Direction
directionEnumType
167
);
171
public
:
NXOpen::Direction
*
Vector
172
(
173
);
177
public
:
void
SetVector
178
(
179
NXOpen::Direction
* vector
180
);
184
public
:
NXOpen::Features::TrimCurve2Builder::KeepDiscard
KeepOrDiscard
185
(
186
);
190
public
:
void
SetKeepOrDiscard
191
(
192
NXOpen::Features::TrimCurve2Builder::KeepDiscard
keepOrDiscardEnumType
193
);
197
public
:
bool
MakeInputCurvesDashed
198
(
199
);
203
public
:
void
SetMakeInputCurvesDashed
204
(
205
bool
makeInputCurvesDashedToggleStatus
206
);
210
public
:
NXOpen::Features::TrimCurve2Builder::CurveExtension
CurveExtensionOption
211
(
212
);
216
public
:
void
SetCurveExtensionOption
217
(
218
NXOpen::Features::TrimCurve2Builder::CurveExtension
curveExtensionEnumType
219
);
223
public
:
bool
ProcessBoundingObjects
224
(
225
);
229
public
:
void
SetProcessBoundingObjects
230
(
231
bool
processBoundingObjectsToggleStatus
232
);
236
public
:
NXOpen::GeometricUtilities::CurveOptions
*
CurveOptions
237
(
238
);
242
public
:
void
SelectTrimRegion
243
(
244
const
NXOpen::Point3d
& helpPoint
245
);
249
public
:
void
DeselectTrimRegion
250
(
251
const
NXOpen::Point3d
& helpPoint
252
);
256
public
:
void
ResetTrimRegions
257
(
258
);
262
public
:
void
SelectDivideLocation
263
(
264
const
NXOpen::Point3d
& helpPoint
265
);
269
public
:
void
DeselectDivideLocation
270
(
271
const
NXOpen::Point3d
& helpPoint
272
);
276
public
:
void
UpdateTrimRegionsAndDivideLocations
277
(
278
);
282
public
:
NXOpen::GeometricUtilities::TrimCurveBoundingObjectBuilder
*
CreateTrimCurveBoundingObjectBuilder
283
(
284
);
288
public
:
bool
PerformExtendedIntersectionCalculation
289
(
290
);
294
public
:
void
SetPerformExtendedIntersectionCalculation
295
(
296
bool
performExtendedIntersectionCalculationToggleStatus
297
);
298
};
299
}
300
}
301
#ifdef _MSC_VER
302
#pragma warning(pop)
303
#endif
304
#ifdef __GNUC__
305
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
306
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
307
#endif
308
#endif
309
#undef EXPORTLIBRARY