NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_EdgeBlendBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口的JA API头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_EdgeBlendBuilder.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/GeometricUtilities_BlendLimitsData.hxx>
22#include <NXOpen/GeometricUtilities_BlendStopshortBuilder.hxx>
23#include <NXOpen/Features_FeatureBuilder.hxx>
24#include <NXOpen/libnxopencpp_features_exports.hxx>
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable:4996)
28#endif
29#ifdef __GNUC__
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31#endif
32namespace NXOpen
33{
34 namespace Features
35 {
36 class EdgeBlendBuilder;
37 }
38 class Edge;
39 class Expression;
40 namespace Features
41 {
42 class FeatureBuilder;
43 }
44 namespace GeometricUtilities
45 {
46 class BlendLimitsData;
47 }
48 namespace GeometricUtilities
49 {
51 }
52 class Point;
53 class ScCollector;
54 namespace Features
55 {
56 class _EdgeBlendBuilderBuilder;
57 class EdgeBlendBuilderImpl;
71 class NXOPENCPP_FEATURESEXPORT EdgeBlendBuilder : public NXOpen::Features::FeatureBuilder
72 {
80
86
92
93 public: enum Section
94 {
97 };
98
105
111
117 private: EdgeBlendBuilderImpl * m_edgeblendbuilder_impl;
118 private: friend class _EdgeBlendBuilderBuilder;
119 protected: EdgeBlendBuilder();
120public: ~EdgeBlendBuilder();
124 public: double Tolerance
125 (
126 );
130 public: void SetTolerance
131 (
132 double tolerance
133 );
138 (
139 );
144 (
145 bool optionValue
146 );
151 (
152 );
157 (
158 bool optionValue
159 );
164 (
165 );
170 (
171 bool optionValue
172 );
176 public: bool LimitFailingAreas
177 (
178 );
183 (
184 bool optionValue
185 );
190 (
191 );
196 (
197 bool optionValue
198 );
202 public: bool RollOntoEdge
203 (
204 );
208 public: void SetRollOntoEdge
209 (
210 bool optionValue
211 );
215 public: bool MoveSharpEdge
216 (
217 );
221 public: void SetMoveSharpEdge
222 (
223 bool optionValue
224 );
228 public: bool ConvexConcaveY
229 (
230 );
234 public: void SetConvexConcaveY
235 (
236 bool optionValue
237 );
241 public: int AddChainset
242 (
243 NXOpen::ScCollector * collector ,
244 const NXString & radius
245 );
250 (
251 NXOpen::ScCollector * collector ,
252 const char * radius
253 );
257 public: int AddChainset
258 (
259 NXOpen::ScCollector * collector ,
263 const NXString & radius ,
264 const NXString & center ,
265 const NXString & rho
266 );
271 (
272 NXOpen::ScCollector * collector ,
276 const char * radius ,
277 const char * center ,
278 const char * rho
279 );
284 (
285 NXOpen::ScCollector * collector
286 );
291 (
292 );
296 public: void GetChainset
297 (
298 int csIndex ,
299 NXOpen::ScCollector ** collector ,
300 NXOpen::Expression ** radius
301 );
306 (
307 int csIndex ,
308 NXOpen::ScCollector ** collector ,
312 NXOpen::Expression ** radius ,
313 NXOpen::Expression ** centerValueTAG ,
314 NXOpen::Expression ** rhoValueTAG
315 );
320 (
321 int csIndex ,
322 NXOpen::ScCollector ** collector ,
323 NXOpen::Expression ** radius ,
324 bool* isValid
325 );
329 public: void RemoveChainset
330 (
331 int csIndex
332 );
337 (
338 NXOpen::ScCollector * collector
339 );
343 public: std::vector<NXOpen::Edge *> GetSetbackData
344 (
345 int sbIndex ,
346 std::vector<bool> & fromStart ,
347 std::vector<NXOpen::Expression *> & distanceExp
348 );
352 public: int AddSetbackData
353 (
354 const std::vector<NXOpen::Edge *> & edgeArray ,
355 const std::vector<bool> & fromStart ,
356 const std::vector<NXString> & distance
357 );
361 public: void RemoveSetbackData
362 (
363 int sbIndex
364 );
369 (
370 int ssIndex
371 );
376 public: NX_DEPRECATED("Deprecated in NX5.0.0. Use Features::EdgeBlendBuilder::GetNewStopshortData instead.") NXOpen::Expression * GetStopshortData
377 (
378 int ssIndex ,
379 NXOpen::Edge ** edge ,
380 bool* fromStart
381 );
386 (
387 NXOpen::GeometricUtilities::BlendStopshortBuilder * builder
388 );
393 public: NX_DEPRECATED("Deprecated in NX5.0.0. Use Features::EdgeBlendBuilder::AddNewStopshortData instead.") int AddStopshortData
394 (
395 NXOpen::Edge * edge ,
396 bool fromStart ,
397 const NXString & distance
398 );
404 (
405 NXOpen::Edge * edge ,
406 bool fromStart ,
407 const char * distance
408 );
413 public: NX_DEPRECATED("Deprecated in NX5.0.0. Use Features::EdgeBlendBuilder::RemoveNewStopshortData instead.") void RemoveStopshortData
414 (
415 NXOpen::Edge * edge ,
416 bool fromStart
417 );
422 (
423 NXOpen::Edge * edge ,
424 bool fromStart ,
425 NXOpen::GeometricUtilities::BlendStopshortBuilder::Choices type
426 );
431 (
432 NXOpen::GeometricUtilities::BlendStopshortBuilder * builder
433 );
438 public: NX_DEPRECATED("Deprecated in NX5.0.0. Use Features::EdgeBlendBuilder::RemoveNewStopshortData instead.") void RemoveStopshortData
439 (
440 int ssIndex
441 );
446 public: NX_DEPRECATED("Deprecated in NX6.0.0. Use Features::EdgeBlendBuilder::GetVariableRadiusDataNew instead.") std::vector<double> GetVariableRadiusData
447 (
448 NXOpen::Edge * edge ,
449 std::vector<NXOpen::Expression *> & radiiExp ,
450 std::vector<NXOpen::Point *> & smartPoints ,
451 std::vector<bool> & isExternalFlagArray
452 );
457 (
458 NXOpen::Edge * edge ,
459 std::vector<NXOpen::Expression *> & parameterExp ,
460 std::vector<NXOpen::Expression *> & radiiExp ,
461 std::vector<NXOpen::Point *> & smartPoints ,
462 std::vector<bool> & isExternalFlagArray
463 );
468 public: NX_DEPRECATED("Deprecated in NX6.0.0. Use Features::EdgeBlendBuilder::AddVariableRadiusDataNew instead.") int AddVariableRadiusData
469 (
470 NXOpen::Edge * edge ,
471 double parameter ,
472 const NXString & radius ,
473 NXOpen::Point * smartPoint ,
474 bool isExternal
475 );
481 (
482 NXOpen::Edge * edge ,
483 double parameter ,
484 const char * radius ,
485 NXOpen::Point * smartPoint ,
486 bool isExternal
487 );
493 (
494 NXOpen::Edge * edge ,
495 const NXString & parameter ,
496 const NXString & radius ,
497 NXOpen::Point * smartPoint ,
498 bool isExternal
499 );
505 (
506 NXOpen::Edge * edge ,
507 const char * parameter ,
508 const char * radius ,
509 NXOpen::Point * smartPoint ,
510 bool isExternal
511 );
516 (
517 NXOpen::Edge * edge ,
518 const NXString & parameter ,
519 const NXString & radius ,
520 NXOpen::Point * smartPoint ,
521 bool isExternal ,
522 bool isArclength
523 );
528 (
529 NXOpen::Edge * edge ,
530 const char * parameter ,
531 const char * radius ,
532 NXOpen::Point * smartPoint ,
533 bool isExternal ,
534 bool isArclength
535 );
540 (
541 NXOpen::Edge * edge ,
542 const NXString & parameter ,
543 const NXString & radius ,
544 const NXString & centerValue ,
545 const NXString & rhoValue ,
546 NXOpen::Point * smartPoint ,
547 bool isExternal ,
548 bool isArclength
549 );
554 (
555 NXOpen::Edge * edge ,
556 const char * parameter ,
557 const char * radius ,
558 const char * centerValue ,
559 const char * rhoValue ,
560 NXOpen::Point * smartPoint ,
561 bool isExternal ,
562 bool isArclength
563 );
568 public: NX_DEPRECATED("Deprecated in NX6.0.0. Use Features::EdgeBlendBuilder::EditVariableRadiusDataNew instead.") void EditVariableRadiusData
569 (
570 NXOpen::Edge * edge ,
571 int vrIndex ,
572 double parameter ,
573 const NXString & radius ,
574 NXOpen::Point * smartPoint ,
575 bool isExternal
576 );
582 (
583 NXOpen::Edge * edge ,
584 int vrIndex ,
585 double parameter ,
586 const char * radius ,
587 NXOpen::Point * smartPoint ,
588 bool isExternal
589 );
594 (
595 NXOpen::Edge * edge ,
596 int vrIndex ,
597 const NXString & parameter ,
598 const NXString & radius ,
599 NXOpen::Point * smartPoint ,
600 bool isExternal
601 );
606 (
607 NXOpen::Edge * edge ,
608 int vrIndex ,
609 const char * parameter ,
610 const char * radius ,
611 NXOpen::Point * smartPoint ,
612 bool isExternal
613 );
618 (
619 NXOpen::Edge * edge ,
620 int vrIndex ,
621 const NXString & parameter ,
622 const NXString & radius ,
623 NXOpen::Point * smartPoint ,
624 bool isExternal ,
625 bool isArclength
626 );
631 (
632 NXOpen::Edge * edge ,
633 int vrIndex ,
634 const char * parameter ,
635 const char * radius ,
636 NXOpen::Point * smartPoint ,
637 bool isExternal ,
638 bool isArclength
639 );
644 (
645 NXOpen::Edge * edge ,
646 int vrIndex ,
647 const NXString & parameter ,
648 const NXString & radius ,
649 const NXString & centerValue ,
650 const NXString & rhoValue ,
651 NXOpen::Point * smartPoint ,
652 bool isExternal ,
653 bool isArclength
654 );
659 (
660 NXOpen::Edge * edge ,
661 int vrIndex ,
662 const char * parameter ,
663 const char * radius ,
664 const char * centerValue ,
665 const char * rhoValue ,
666 NXOpen::Point * smartPoint ,
667 bool isExternal ,
668 bool isArclength
669 );
674 (
675 NXOpen::Edge * edge ,
676 double parameter
677 );
682 (
683 NXOpen::Edge * edge ,
684 int index
685 );
690 (
691 NXOpen::Edge * edge
692 );
696 public: NXOpen::Features::EdgeBlendBuilder::Overlap OverlapOption
697 (
698 );
702 public: void SetOverlapOption
703 (
704 NXOpen::Features::EdgeBlendBuilder::Overlap overlapOption
705 );
709 public: NXOpen::Features::EdgeBlendBuilder::OrderOfBlending BlendOrder
710 (
711 );
715 public: void SetBlendOrder
716 (
717 NXOpen::Features::EdgeBlendBuilder::OrderOfBlending blendOrder
718 );
722 public: NXOpen::Features::EdgeBlendBuilder::Setback SetbackOption
723 (
724 );
728 public: void SetSetbackOption
729 (
730 NXOpen::Features::EdgeBlendBuilder::Setback setbackOption
731 );
736 (
737 );
741 public: void SetCliffEdges
742 (
743 NXOpen::ScCollector * cliffEdgeCollector
744 );
749 (
750 );
754 public: void SetNonCliffEdges
755 (
756 NXOpen::ScCollector * nonCliffEdgeCollector
757 );
761 public: NXOpen::GeometricUtilities::BlendLimitsData * LimitsListData
762 (
763 );
767 public: bool TrimmingOption
768 (
769 );
773 public: void SetTrimmingOption
774 (
775 bool optionValue
776 );
780 public: bool SegmentBlendFaces
781 (
782 );
787 (
788 bool optionValue
789 );
794 (
795 );
800 (
801 NXOpen::Features::EdgeBlendBuilder::FaceContinuity optionValue
802 );
807 (
808 );
813 (
814 bool optionValue
815 );
819 public: void AddEdgeChainData
820 (
821 const std::vector<NXOpen::Edge *> & edgeArray ,
822 const std::vector<bool> & edgeAlongChainDirectionArray ,
823 bool isChainClosed ,
824 bool isChainPartOfNetwork
825 );
830 (
831 const std::vector<NXOpen::Edge *> & edgeArray ,
832 double parameterOnChain ,
833 bool isArclength ,
834 double radius ,
835 double centerValue ,
836 double rhoValue ,
837 NXOpen::Point * smartPoint ,
838 bool isExternal
839 );
844 (
845 );
850 (
851 );
856 (
857 const std::vector<NXOpen::Edge *> & edgeArray ,
858 const NXString & parameterOnChainExp ,
859 bool isArclength ,
860 const NXString & radiusExp ,
861 const NXString & centerValueExp ,
862 const NXString & rhoValueExp ,
863 NXOpen::Point * smartPoint ,
864 bool isExternal
865 );
870 (
871 const std::vector<NXOpen::Edge *> & edgeArray ,
872 const char * parameterOnChainExp ,
873 bool isArclength ,
874 const char * radiusExp ,
875 const char * centerValueExp ,
876 const char * rhoValueExp ,
877 NXOpen::Point * smartPoint ,
878 bool isExternal
879 );
884 (
885 int csIndex ,
886 NXOpen::ScCollector ** collector ,
887 NXOpen::Expression ** primaryExpressionTag ,
888 NXOpen::Expression ** secondaryExpressionTag
889 );
894 (
895 const std::vector<NXOpen::Edge *> & edgeArray ,
896 double parameterOnChain ,
897 bool isArclength ,
898 NXOpen::Point * smartPoint ,
899 bool isExternal
900 );
905 (
906 const std::vector<NXOpen::Edge *> & edgeArray ,
907 double parameterOnChain ,
908 bool isArclength ,
909 NXOpen::Point * smartPoint ,
910 bool isExternal ,
911 NXOpen::Expression ** primaryExpressionTag ,
912 NXOpen::Expression ** secondaryExpressionTag
913 );
918 (
919 const std::vector<NXOpen::Edge *> & edgeArray ,
920 double parameterOnChain ,
921 bool isArclength ,
922 NXOpen::Point * smartPoint ,
923 bool isExternal
924 );
929 (
930 int sbIndex ,
931 int ithDistance
932 );
933};
934 }
935}
936#ifdef _MSC_VER
937#pragma warning(pop)
938#endif
939#ifdef __GNUC__
940#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
941#pragma GCC diagnostic warning "-Wdeprecated-declarations"
942#endif
943#endif
944#undef EXPORTLIBRARY