NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_FitCurveBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_FitCurveBuilder.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/Features_GeometricConstraintDataManager.hxx>
23#include <NXOpen/GeometricUtilities_CurveExtensionBuilder.hxx>
24#include <NXOpen/Features_FeatureBuilder.hxx>
25#include <NXOpen/SelectObject.hxx>
26#include <NXOpen/SelectObjectList.hxx>
27#include <NXOpen/libnxopencpp_features_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
35namespace NXOpen
36{
37 namespace Features
38 {
39 class FitCurveBuilder;
40 }
41 class Direction;
42 class Expression;
43 namespace Features
44 {
45 class FeatureBuilder;
46 }
47 namespace Features
48 {
50 }
51 namespace GeometricUtilities
52 {
54 }
55 class Point;
56 class SelectSpline;
58 namespace Features
59 {
60 class _FitCurveBuilderBuilder;
61 class FitCurveBuilderImpl;
97 class NXOPENCPP_FEATURESEXPORT FitCurveBuilder : public NXOpen::Features::FeatureBuilder
98 {
107
117
127
134 private: FitCurveBuilderImpl * m_fitcurvebuilder_impl;
135 private: friend class _FitCurveBuilderBuilder;
136 protected: FitCurveBuilder();
137public: ~FitCurveBuilder();
142 (
143 );
147 public: void SetType
148 (
150 );
155 (
156 );
161 (
163 );
168 (
169 );
174 (
175 );
180 (
181 bool canUseAllPointsInPart
182 );
187 (
188 );
193 (
194 );
199 (
201 );
206 (
207 );
212 (
213 NXOpen::Direction * projectionDirection
214 );
218 public: bool HasRadius
219 (
220 );
224 public: void SetHasRadius
225 (
226 bool hasRadius
227 );
232 (
233 );
237 public: bool IsClosedCurve
238 (
239 );
243 public: void SetClosedCurve
244 (
245 bool isClosed
246 );
251 (
252 );
257 (
259 );
263 public: int Degree
264 (
265 );
269 public: void SetDegree
270 (
271 int degree
272 );
276 public: int Segments
277 (
278 );
282 public: void SetSegments
283 (
284 int segments
285 );
289 public: double Tolerance
290 (
291 );
295 public: void SetTolerance
296 (
297 double tolerance
298 );
303 (
304 );
309 (
310 );
315 (
316 bool canKeepTemplateSelected
317 );
321 public: bool IsClosedBSpline
322 (
323 );
327 public: void SetClosedBSpline
328 (
329 bool isClosed
330 );
335 (
336 );
341 (
342 bool hasUniformSegments
343 );
348 (
349 );
354 (
355 bool hasReversedDirection
356 );
361 (
362 );
367 (
368 );
373 (
374 bool rejectPoints
375 );
380 (
381 );
385 public: bool IsAssociative
386 (
387 );
391 public: void SetAssociative
392 (
393 bool associative
394 );
399 public: void ChainAllPoints
400 (
401 );
406 (
407 );
412 (
413 int index
414 );
418 public: void MakeConstraint
419 (
420 NXOpen::Point * point
421 );
425 public: void RemoveConstraint
426 (
427 NXOpen::Point * point
428 );
433 (
434 const std::vector<NXOpen::Point *> & points
435 );
439 public: void Evaluate
440 (
441 );
449 (
450 );
451};
452 }
453}
454#ifdef _MSC_VER
455#pragma warning(pop)
456#endif
457#ifdef __GNUC__
458#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
459#pragma GCC diagnostic warning "-Wdeprecated-declarations"
460#endif
461#endif
462#undef EXPORTLIBRARY