NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
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
33namespace NXOpen
34{
35 namespace Features
36 {
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 {
68 private: BlockFeatureBuilderImpl * m_blockfeaturebuilder_impl;
69 private: friend class _BlockFeatureBuilderBuilder;
70 protected: BlockFeatureBuilder();
71 public: ~BlockFeatureBuilder();
76 (
77 );
82 (
83 );
88 (
89 );
94 (
95 );
99 public: void GetOrientation
100 (
101 NXOpen::Vector3d* xAxis ,
102 NXOpen::Vector3d* yAxis
103 );
108 (
109 );
114 (
115 );
119 public: void SetLength
120 (
121 const NXString & length
122 );
127 (
128 const char * length
129 );
133 public: void SetWidth
134 (
135 const NXString & width
136 );
141 (
142 const char * width
143 );
147 public: void SetHeight
148 (
149 const NXString & height
150 );
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 (
179 );
183 public: void SetTarget
184 (
185 NXOpen::Body * target
186 );
191 (
192 const NXOpen::Point3d & originPoint ,
193 const NXString & lengthExpression ,
194 const NXString & widthExpression ,
195 const NXString & heightExpression
196 );
201 (
202 const NXOpen::Point3d & originPoint ,
203 const char * lengthExpression ,
204 const char * widthExpression ,
205 const char * heightExpression
206 );
211 (
212 const NXOpen::Point3d & originPoint ,
213 const NXOpen::Point3d & cornerPoint ,
214 const NXString & heightExpression
215 );
220 (
221 const NXOpen::Point3d & originPoint ,
222 const NXOpen::Point3d & cornerPoint ,
223 const char * heightExpression
224 );
229 (
230 const NXOpen::Point3d & originPoint ,
231 const NXOpen::Point3d & cornerPoint
232 );
237 (
239 NXOpen::Body * targetBody
241 );
246 (
247 );
251 public: void SetType
252 (
254 );
259 (
260 );
264 public: void SetOriginPoint
265 (
266 NXOpen::Point * blockOriginPoint
267 );
272 (
273 );
278 (
279 NXOpen::Point * blockPointFromOrigin
280 );
285 (
286 );
291 (
292 );
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