NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Routing_OffsetPath.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Routing_OffsetPath.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/INXObject.hxx>
22#include <NXOpen/NXObject.hxx>
23#include <NXOpen/Routing_IPath.hxx>
24#include <NXOpen/ugmath.hxx>
25#include <NXOpen/libnxopencpp_routing_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 Routing
36 {
37 class OffsetPath;
38 }
39 namespace Assemblies
40 {
41 class Component;
42 }
43 class BasePart;
44 class INXObject;
45 class NXObject;
46 namespace Routing
47 {
48 class ControlPoint;
49 }
50 namespace Routing
51 {
52 class IPath;
53 }
54 namespace Routing
55 {
56 class ISegment;
57 }
58 namespace Routing
59 {
60 class _OffsetPathBuilder;
61 class OffsetPathImpl;
66 class NXOPENCPP_ROUTINGEXPORT OffsetPath : public NXOpen::NXObject, public virtual NXOpen::Routing::IPath
67 {
68 private: OffsetPathImpl * m_offsetpath_impl;
69 private: friend class _OffsetPathBuilder;
70 protected: OffsetPath();
71 public: ~OffsetPath();
75 public: std::vector<NXOpen::Routing::ISegment *> GetOffsetPathSegments
76 (
77 );
82 (
83 const std::vector<NXOpen::Routing::ISegment *> & segments
84 );
89 (
90 );
94 public: void SetOffsetVector
95 (
96 const NXOpen::Vector3d & vector
97 );
102 (
103 NXOpen::Point3d* orgin ,
104 NXOpen::Vector3d* xVector ,
105 NXOpen::Vector3d* yVector
106 );
111 (
112 const NXOpen::Point3d & orgin ,
113 const NXOpen::Vector3d & xVector ,
114 const NXOpen::Vector3d & yVector
115 );
119 public: std::vector<NXOpen::Routing::IPath *> GetOffsetPaths
120 (
121 );
126 (
127 );
131 public: void SetMasterPath
132 (
133 NXOpen::Routing::IPath * masterPath
134 );
138 public: bool IsMaster
139 (
140 );
144 public: void SetMaster
145 (
146 bool masterState
147 );
151 public: bool IsSlave
152 (
153 );
157 public: void SetSlave
158 (
159 bool masterState
160 );
164 public: double BendRadius
165 (
166 );
170 public: void SetBendRadius
171 (
172 double radius
173 );
177 public: double BendRatio
178 (
179 );
183 public: void SetBendRatio
184 (
185 double ratio
186 );
190 public: bool UseBendRatio
191 (
192 );
196 public: void SetUseBendRatio
197 (
198 bool ratioState
199 );
203 public: bool CopyCornerFlag
204 (
205 );
209 public: void SetCopyCornerFlag
210 (
211 bool copyCorner
212 );
216 public: bool MaintainStockFlag
217 (
218 );
223 (
224 bool maintainStock
225 );
230 (
231 );
236 (
237 );
241 public: virtual std::vector<NXOpen::Routing::ISegment *> GetSegmentList
242 (
243 );
247 public: virtual void AddSegmentsToList
248 (
249 const std::vector<NXOpen::Routing::ISegment *> & objs
250 );
254 public: virtual void DelSegmentsFromList
255 (
256 const std::vector<NXOpen::Routing::ISegment *> & objs
257 );
262 (
263 );
268 (
269 );
273 public: virtual void SetControlPointStart
274 (
276 );
280 public: virtual void SetControlPointEnd
281 (
283 );
284 };
285 }
286}
287#ifdef _MSC_VER
288#pragma warning(pop)
289#endif
290#ifdef __GNUC__
291#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
292#pragma GCC diagnostic warning "-Wdeprecated-declarations"
293#endif
294#endif
295#undef EXPORTLIBRARY