NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_OffsetCurveBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_OffsetCurveBuilder.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_CurveFitData.hxx>
23
#include <NXOpen/GeometricUtilities_CurveFitOptions.hxx>
24
#include <NXOpen/GeometricUtilities_CurveOptions.hxx>
25
#include <NXOpen/GeometricUtilities_LawBuilder.hxx>
26
#include <NXOpen/Features_FeatureBuilder.hxx>
27
#include <NXOpen/Section.hxx>
28
#include <NXOpen/ugmath.hxx>
29
#include <NXOpen/libnxopencpp_features_exports.hxx>
30
#ifdef _MSC_VER
31
#pragma warning(push)
32
#pragma warning(disable:4996)
33
#endif
34
#ifdef __GNUC__
35
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
36
#endif
37
namespace
NXOpen
38
{
39
namespace
Features
40
{
41
class
OffsetCurveBuilder
;
42
}
43
class
Direction
;
44
class
Expression
;
45
namespace
Features
46
{
47
class
FeatureBuilder
;
48
}
49
namespace
GeometricUtilities
50
{
51
class
CurveFitData
;
52
}
53
namespace
GeometricUtilities
54
{
55
class
CurveFitOptions
;
56
}
57
namespace
GeometricUtilities
58
{
59
class
CurveOptions
;
60
}
61
namespace
GeometricUtilities
62
{
63
class
LawBuilder
;
64
}
65
class
ICurve
;
66
class
Point
;
67
class
Section
;
68
namespace
Features
69
{
70
class
_OffsetCurveBuilderBuilder;
71
class
OffsetCurveBuilderImpl;
168
class
NXOPENCPP_FEATURESEXPORT OffsetCurveBuilder :
public
NXOpen::Features::FeatureBuilder
169
{
171
public
:
enum
TrimOption
172
{
173
TrimOptionNone
,
174
TrimOptionExtendTangents
,
175
TrimOptionFillet
176
};
177
178
public
:
enum
Types
179
{
180
TypesDistance
,
181
TypesDraft
,
182
TypesLawControl
,
183
TypesAxial3d
184
};
185
private
:
OffsetCurveBuilderImpl
* m_offsetcurvebuilder_impl;
186
private
:
friend
class
_OffsetCurveBuilderBuilder;
187
protected
:
OffsetCurveBuilder
();
188
public
:
~OffsetCurveBuilder
();
192
public
:
NXOpen::Features::OffsetCurveBuilder::Types
Type
193
(
194
);
198
public
:
void
SetType
199
(
200
NXOpen::Features::OffsetCurveBuilder::Types
type
201
);
205
public
:
NXOpen::Section
*
CurvesToOffset
206
(
207
);
211
public
:
NXOpen::Point
*
PointOnOffsetPlane
212
(
213
);
217
public
:
void
SetPointOnOffsetPlane
218
(
219
NXOpen::Point
* pointOnOffsetPlane
220
);
224
public
:
NXOpen::Expression
*
OffsetDistance
225
(
226
);
230
public
:
NXOpen::Expression
*
DraftHeight
231
(
232
);
236
public
:
NXOpen::Expression
*
DraftAngle
237
(
238
);
242
public
:
NXOpen::GeometricUtilities::LawBuilder
*
LawControl
243
(
244
);
248
public
:
NXOpen::Expression
*
Offset3dDistance
249
(
250
);
254
public
:
NXOpen::Direction
*
AxialOffsetDirection
255
(
256
);
260
public
:
void
SetAxialOffsetDirection
261
(
262
NXOpen::Direction
* direction
263
);
267
public
:
int
NumberOfCopies
268
(
269
);
273
public
:
void
SetNumberOfCopies
274
(
275
int
numberOfCopies
276
);
280
public
:
bool
ReverseDirection
281
(
282
);
286
public
:
void
SetReverseDirection
287
(
288
bool
reverseDirection
289
);
293
public
:
NXOpen::GeometricUtilities::CurveOptions
*
InputCurvesOptions
294
(
295
);
299
public
:
NXOpen::Features::OffsetCurveBuilder::TrimOption
TrimMethod
300
(
301
);
305
public
:
void
SetTrimMethod
306
(
307
NXOpen::Features::OffsetCurveBuilder::TrimOption
trim
308
);
313
public
:
NX_DEPRECATED
(
"Deprecated in NX11.0.0. Extend factor functionality is no longer supported."
) double ExtendFactor
314
(
315
);
320
public:
NX_DEPRECATED
(
"Deprecated in NX11.0.0. Extend factor functionality is no longer supported."
)
void
SetExtendFactor
321
(
322
double
extendFactor
323
);
327
public:
bool
GroupObjects
328
(
329
);
333
public:
void
SetGroupObjects
334
(
335
bool
groupObjects
336
);
340
public:
bool
RoughOffset
341
(
342
);
346
public:
void
SetRoughOffset
347
(
348
bool
roughOffset
349
);
353
public:
NXOpen
::
GeometricUtilities
::CurveFitOptions *
CurveFitMethod
354
(
355
);
359
public:
NXOpen
::
GeometricUtilities
::
CurveFitData
*
CurveFitData
360
(
361
);
365
public:
double
Tolerance
366
(
367
);
371
public:
void
SetTolerance
372
(
373
double
tolerance
374
);
378
public:
void
ComputeOffsetDirection
379
(
380
NXOpen
::
Vector3d
* offsetDirection ,
381
NXOpen
::
Point3d
* startPoint
382
);
386
public:
void
ComputeOffsetDirection
387
(
388
NXOpen
::
ICurve
* seedEntity ,
389
const
NXOpen
::
Point3d
& seedPoint ,
390
NXOpen
::
Vector3d
* offsetDirection ,
391
NXOpen
::
Point3d
* startPoint
392
);
393
};
394
}
395
}
396
#ifdef _MSC_VER
397
#pragma warning(pop)
398
#endif
399
#ifdef __GNUC__
400
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
401
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
402
#endif
403
#endif
404
#undef EXPORTLIBRARY