NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Fields_SketchProfileBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Fields_SketchProfileBuilder.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/Fields_FieldProfileTable.hxx>
23
#include <NXOpen/GeometricUtilities_IComponentBuilder.hxx>
24
#include <NXOpen/TaggedObject.hxx>
25
#include <NXOpen/ObjectList.hxx>
26
#include <NXOpen/SelectObject.hxx>
27
#include <NXOpen/libnxopencpp_fields_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
Fields
38
{
39
class
SketchProfileBuilder
;
40
}
41
class
Expression
;
42
namespace
GeometricUtilities
43
{
44
class
IComponentBuilder
;
45
}
46
class
PointList
;
47
class
SelectSketch
;
48
class
Unit
;
49
namespace
Fields
50
{
51
class
_SketchProfileBuilderBuilder;
52
class
SketchProfileBuilderImpl;
58
class
NXOPENCPP_FIELDSEXPORT SketchProfileBuilder :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
59
{
62
public
:
enum
InterpolationType
63
{
64
InterpolationTypeLinear
,
65
InterpolationTypeAkima
,
66
InterpolationTypeAkima72
,
67
InterpolationTypeCubic
68
};
69
71
public
:
enum
SamplingPointType
72
{
73
SamplingPointTypeChordalTolerance
,
74
SamplingPointTypeEqualArcLength
75
};
76
private
:
SketchProfileBuilderImpl
* m_sketchprofilebuilder_impl;
77
private
:
friend
class
_SketchProfileBuilderBuilder;
78
protected
:
SketchProfileBuilder
();
79
public
:
~SketchProfileBuilder
();
89
public
:
NXOpen::SelectSketch
*
Sketch
90
(
91
);
100
public
:
NX_DEPRECATED
(
"Deprecated in NX1926.0.0. NXOpen::Fields::SketchProfileBuilder::PointSamplingType"
)
NXOpen
::
Fields
::
FieldProfileTable
::SamplingPointOption DiscretePointType
101
(
102
);
111
public:
NX_DEPRECATED
(
"Deprecated in NX1926.0.0. NXOpen::Fields::SketchProfileBuilder::SetPointSamplingType"
)
void
SetDiscretePointType
112
(
113
NXOpen
::
Fields
::
FieldProfileTable
::SamplingPointOption type
114
);
122
public:
NXOpen
::
Fields
::SketchProfileBuilder::
SamplingPointType
PointSamplingType
123
(
124
);
132
public:
void
SetPointSamplingType
133
(
134
NXOpen
::
Fields
::SketchProfileBuilder::
SamplingPointType
type
135
);
139
public:
NXOpen
::
Expression
*
ChordalTolerance
140
(
141
);
145
public:
int
NumberPoints
146
(
147
);
151
public:
void
SetNumberPoints
152
(
153
int
type
154
);
158
public:
NXOpen
::
PointList
*
Points
159
(
160
);
170
public:
NXOpen
::
Fields
::SketchProfileBuilder::
InterpolationType
Interpolation
171
(
172
);
182
public:
void
SetInterpolation
183
(
184
NXOpen
::
Fields
::SketchProfileBuilder::
InterpolationType
type
185
);
189
public:
NXOpen
::
Unit
*
UnitType
190
(
191
);
195
public:
void
SetUnitType
196
(
197
NXOpen
::
Unit
* unitType
198
);
203
public:
NXOpen
::
Expression
*
Scale
204
(
205
);
211
public:
NXOpen
::
Expression
*
Offset
212
(
213
);
220
public:
void
SetMeasuresFixed
221
(
222
bool
areMeasuresFixed
223
);
230
public: virtual
bool
Validate
231
(
232
);
233
};
234
}
235
}
236
#ifdef _MSC_VER
237
#pragma warning(pop)
238
#endif
239
#ifdef __GNUC__
240
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
241
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
242
#endif
243
#endif
244
#undef EXPORTLIBRARY