NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_BlockFeatureBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_BlockFeatureBuilder.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_Feature.hxx>
22
#include <NXOpen/GeometricUtilities_BooleanOperation.hxx>
23
#include <NXOpen/Features_FeatureBuilder.hxx>
24
#include <NXOpen/ugmath.hxx>
25
#include <NXOpen/libnxopencpp_features_exports.hxx>
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable:4996)
29
#endif
30
#ifdef __GNUC__
31
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32
#endif
33
namespace
NXOpen
34
{
35
namespace
Features
36
{
37
class
BlockFeatureBuilder
;
38
}
39
class
Body
;
40
class
Expression
;
41
namespace
Features
42
{
43
class
FeatureBuilder
;
44
}
45
namespace
GeometricUtilities
46
{
47
class
BooleanOperation
;
48
}
49
class
Point
;
50
namespace
Features
51
{
52
class
_BlockFeatureBuilderBuilder;
53
class
BlockFeatureBuilderImpl;
59
class
NXOPENCPP_FEATURESEXPORT BlockFeatureBuilder :
public
NXOpen::Features::FeatureBuilder
60
{
62
public
:
enum
Types
63
{
64
TypesOriginAndEdgeLengths
,
65
TypesTwoPointsAndHeight
,
66
TypesDiagonalPoints
67
};
68
private
:
BlockFeatureBuilderImpl
* m_blockfeaturebuilder_impl;
69
private
:
friend
class
_BlockFeatureBuilderBuilder;
70
protected
:
BlockFeatureBuilder
();
71
public
:
~BlockFeatureBuilder
();
75
public
:
NXOpen::Expression
*
Length
76
(
77
);
81
public
:
NXOpen::Expression
*
Width
82
(
83
);
87
public
:
NXOpen::Expression
*
Height
88
(
89
);
93
public
:
NXOpen::Point3d
Origin
94
(
95
);
99
public
:
void
GetOrientation
100
(
101
NXOpen::Vector3d
* xAxis ,
102
NXOpen::Vector3d
* yAxis
103
);
107
public
:
NXOpen::Features::Feature::BooleanType
BooleanType
108
(
109
);
113
public
:
NXOpen::Body
*
Target
114
(
115
);
119
public
:
void
SetLength
120
(
121
const
NXString
& length
122
);
126
void
SetLength
127
(
128
const
char
* length
129
);
133
public
:
void
SetWidth
134
(
135
const
NXString
& width
136
);
140
void
SetWidth
141
(
142
const
char
* width
143
);
147
public
:
void
SetHeight
148
(
149
const
NXString
& height
150
);
154
void
SetHeight
155
(
156
const
char
* height
157
);
161
public
:
void
SetOrigin
162
(
163
const
NXOpen::Point3d
& origin
164
);
168
public
:
void
SetOrientation
169
(
170
const
NXOpen::Vector3d
& xAxis ,
171
const
NXOpen::Vector3d
& yAxis
172
);
176
public
:
void
SetBooleanType
177
(
178
NXOpen::Features::Feature::BooleanType
booleanType
179
);
183
public
:
void
SetTarget
184
(
185
NXOpen::Body
* target
186
);
190
public
:
void
SetOriginAndLengths
191
(
192
const
NXOpen::Point3d
& originPoint ,
193
const
NXString
& lengthExpression ,
194
const
NXString
& widthExpression ,
195
const
NXString
& heightExpression
196
);
200
void
SetOriginAndLengths
201
(
202
const
NXOpen::Point3d
& originPoint ,
203
const
char
* lengthExpression ,
204
const
char
* widthExpression ,
205
const
char
* heightExpression
206
);
210
public
:
void
SetTwoPointsAndHeight
211
(
212
const
NXOpen::Point3d
& originPoint ,
213
const
NXOpen::Point3d
& cornerPoint ,
214
const
NXString
& heightExpression
215
);
219
void
SetTwoPointsAndHeight
220
(
221
const
NXOpen::Point3d
& originPoint ,
222
const
NXOpen::Point3d
& cornerPoint ,
223
const
char
* heightExpression
224
);
228
public
:
void
SetTwoDiagonalPoints
229
(
230
const
NXOpen::Point3d
& originPoint ,
231
const
NXOpen::Point3d
& cornerPoint
232
);
236
public
:
void
SetBooleanOperationAndTarget
237
(
238
NXOpen::Features::Feature::BooleanType
booleanOperation ,
239
NXOpen::Body
* targetBody
241
);
245
public
:
NXOpen::Features::BlockFeatureBuilder::Types
Type
246
(
247
);
251
public
:
void
SetType
252
(
253
NXOpen::Features::BlockFeatureBuilder::Types
type
254
);
258
public
:
NXOpen::Point
*
OriginPoint
259
(
260
);
264
public
:
void
SetOriginPoint
265
(
266
NXOpen::Point
* blockOriginPoint
267
);
271
public
:
NXOpen::Point
*
PointFromOrigin
272
(
273
);
277
public
:
void
SetPointFromOrigin
278
(
279
NXOpen::Point
* blockPointFromOrigin
280
);
284
public
:
NXOpen::GeometricUtilities::BooleanOperation
*
BooleanOption
285
(
286
);
290
public
:
bool
ParentAssociativity
291
(
292
);
296
public
:
void
SetParentAssociativity
297
(
298
bool
parentAssociativity
299
);
300
};
301
}
302
}
303
#ifdef _MSC_VER
304
#pragma warning(pop)
305
#endif
306
#ifdef __GNUC__
307
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
308
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
309
#endif
310
#endif
311
#undef EXPORTLIBRARY