NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_FitSurfaceBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_FitSurfaceBuilder.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/FacetCollector.hxx>
23#include <NXOpen/GeometricUtilities_ColorCodedRegionBuilder.hxx>
24#include <NXOpen/GeometricUtilities_DegreesAndSegmentsOrPatchesBuilder.hxx>
25#include <NXOpen/Features_FeatureBuilder.hxx>
26#include <NXOpen/SelectObject.hxx>
27#include <NXOpen/SelectObjectList.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
37namespace NXOpen
38{
39 namespace Features
40 {
42 }
43 class CoordinateSystem;
44 class Direction;
45 class Expression;
46 class FacetCollector;
47 namespace Features
48 {
49 class FeatureBuilder;
50 }
51 namespace GeometricUtilities
52 {
54 }
55 namespace GeometricUtilities
56 {
58 }
59 class Point;
60 class SelectNXObject;
62 namespace Features
63 {
64 class _FitSurfaceBuilderBuilder;
65 class FitSurfaceBuilderImpl;
146 class NXOPENCPP_FEATURESEXPORT FitSurfaceBuilder : public NXOpen::Features::FeatureBuilder
147 {
157
164
172
173 public: enum BodyType
174 {
177 };
178 private: FitSurfaceBuilderImpl * m_fitsurfacebuilder_impl;
179 private: friend class _FitSurfaceBuilderBuilder;
180 protected: FitSurfaceBuilder();
181 public: ~FitSurfaceBuilder();
186 (
187 );
191 public: void SetType
192 (
194 );
199 public: NX_DEPRECATED("在 NX10.0.0 中已过时。 使用 Features::FitSurfaceBuilder::TargetObjects 替代。") NXOpen::SelectNXObject * TargetObject
200 (
201 );
205 public: NXOpen::Features::FitSurfaceBuilder::TargetType TargetOption
206 (
207 );
211 public: void SetTargetOption
212 (
213 NXOpen::Features::FitSurfaceBuilder::TargetType targetOption
214 );
219 (
220 );
224 public: NXOpen::GeometricUtilities::ColorCodedRegionBuilder * TargetRegion
225 (
226 );
231 (
232 );
236 public: NXOpen::Features::FitSurfaceBuilder::DirectionType DirectionOption
237 (
238 );
243 (
244 NXOpen::Features::FitSurfaceBuilder::DirectionType directionOption
245 );
250 (
251 );
255 public: void SetVector
256 (
257 NXOpen::Direction * vector
258 );
262 public: void EditCSYS
263 (
264 const NXOpen::Point3d & originCsys ,
265 const NXOpen::Matrix3x3 & matCsys
266 );
271 (
272 );
277 (
278 NXOpen::CoordinateSystem * coordSystem
279 );
283 public: bool IsBoundary
284 (
285 );
289 public: void SetBoundary
290 (
291 bool isBoundary
292 );
296 public: NXOpen::Point * Point1
297 (
298 );
302 public: void SetPoint1
303 (
304 NXOpen::Point * point1
305 );
309 public: NXOpen::Point * Point2
310 (
311 );
315 public: void SetPoint2
316 (
317 NXOpen::Point * point
318 );
322 public: NXOpen::Point * Point3
323 (
324 );
328 public: void SetPoint3
329 (
330 NXOpen::Point * point
331 );
335 public: NXOpen::Point * Point4
336 (
337 );
341 public: void SetPoint4
342 (
343 NXOpen::Point * point
344 );
348 public: NXOpen::GeometricUtilities::DegreesAndSegmentsOrPatchesBuilder * Parameterization
349 (
350 );
354 public: bool IsUniformU
355 (
356 );
360 public: void SetUniformU
361 (
362 bool isUniform
363 );
367 public: bool IsUniformV
368 (
369 );
373 public: void SetUniformV
374 (
375 bool isUniform
376 );
380 public: int SmoothFactor
381 (
382 );
386 public: void SetSmoothFactor
387 (
388 int smoothFactor
389 );
393 public: bool IsConstrained
394 (
395 );
399 public: void SetConstrained
400 (
401 bool isConstrained
402 );
407 (
408 );
413 (
414 NXOpen::Direction * vector
415 );
419 public: bool IsRadius
420 (
421 );
425 public: void SetRadius
426 (
427 bool isRadius
428 );
433 (
434 );
438 public: bool IsHalfAngle
439 (
440 );
444 public: void SetHalfAngle
445 (
446 bool isHalfAngle
447 );
452 (
453 );
457 public: bool IsClosed
458 (
459 );
463 public: void SetClosed
464 (
465 bool isClosed
466 );
470 public: bool IsSingleSurface
471 (
472 );
476 public: void SetSingleSurface
477 (
478 bool isSingleSurface
479 );
484 (
485 );
490 (
491 bool isMultiFeature
492 );
496 public: bool IsAutomatic
497 (
498 );
502 public: void SetAutomatic
503 (
504 bool isAutomatic
505 );
510 (
511 );
515 public: NXOpen::Features::FitSurfaceBuilder::BodyType BodyTypePreference
516 (
517 );
522 (
523 NXOpen::Features::FitSurfaceBuilder::BodyType type
524 );
525 };
526 }
527}
528#ifdef _MSC_VER
529#pragma warning(pop)
530#endif
531#ifdef __GNUC__
532#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
533#pragma GCC diagnostic warning "-Wdeprecated-declarations"
534#endif
535#endif
536#undef EXPORTLIBRARY