NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Routing_PlacementSolutionsBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口头文件(JA API)
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Routing_PlacementSolutionsBuilder.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/Builder.hxx>
22#include <NXOpen/ugmath.hxx>
23#include <NXOpen/libnxopencpp_routing_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Routing
34 {
36 }
37 class Builder;
38 namespace Routing
39 {
40 class Port;
41 }
42 class TaggedObject;
43 namespace Routing
44 {
45 class _PlacementSolutionsBuilderBuilder;
46 class PlacementSolutionsBuilderImpl;
51 class NXOPENCPP_ROUTINGEXPORT PlacementSolutionsBuilder : public NXOpen::Builder
52 {
53 private: PlacementSolutionsBuilderImpl * m_placementsolutionsbuilder_impl;
54 private: friend class _PlacementSolutionsBuilderBuilder;
55 protected: PlacementSolutionsBuilder();
56 public: ~PlacementSolutionsBuilder();
61 (
63 const NXOpen::Point3d & placementPos ,
64 NXOpen::TaggedObject * partToPlace
65 );
70 (
71 );
75 public: int GetSolutionIndex
76 (
77 );
81 public: void NextSolution
82 (
83 );
87 public: void FirstSolution
88 (
89 );
93 public: void PreviousSolution
94 (
95 );
100 (
101 );
106 (
107 bool lockEngagement ,
108 bool lockRotation
109 );
113 public: void ApplyPortRotation
114 (
115 double angle
116 );
121 (
122 bool lockEngagement ,
123 bool lockRotation ,
124 bool fixPart
125 );
129 public: bool GetConsiderPorts
130 (
131 );
136 public: void SetConsiderPorts
137 (
138 bool considerPorts
139 );
144 (
145 );
150 (
151 bool onlyPrimaryPlacementSolutions
152 );
157 (
158 );
163 (
164 bool lookForAdditionalPlacementSolutions
165 );
171 (
172 );
173 };
174 }
175}
176#ifdef _MSC_VER
177#pragma warning(pop)
178#endif
179#ifdef __GNUC__
180#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
181#pragma GCC diagnostic warning "-Wdeprecated-declarations"
182#endif
183#endif
184#undef EXPORTLIBRARY