NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Routing_ISegment.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 管路布线JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Routing_ISegment.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/Routing_ICharacteristic.hxx>
22#include <NXOpen/Routing_SegmentManager.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_routing_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 Routing
35 {
36 class ISegment;
37 }
38 namespace Assemblies
39 {
40 class Component;
41 }
42 class Curve;
43 namespace Routing
44 {
45 class ControlPoint;
46 }
47 namespace Routing
48 {
49 namespace Electrical
50 {
51 class CableDevice;
52 }
53 }
54 namespace Routing
55 {
56 namespace Electrical
57 {
59 }
60 }
61 namespace Routing
62 {
63 namespace Electrical
64 {
65 class Connection;
66 }
67 }
68 namespace Routing
69 {
70 class ICharacteristic;
71 }
72 namespace Routing
73 {
74 class Stock;
75 }
76 namespace Routing
77 {
78 class Wire;
79 }
80 namespace Routing
81 {
85 class NXOPENCPP_ROUTINGEXPORT ISegment : public virtual NXOpen::Routing::ICharacteristic
86 {
87 public: virtual ~ISegment() {}
92 public: virtual void GetEndRcps
93 (
96 ) = 0;
100 public: virtual void SetEndRcps
101 (
104 ) = 0;
108 public: virtual void GetEndPoints
109 (
110 NXOpen::Point3d* startPoint ,
111 NXOpen::Point3d* endPoint
112 ) = 0;
116 public: virtual void SetEndPoints
117 (
118 const NXOpen::Point3d & startPoint ,
119 const NXOpen::Point3d & endPoint
120 ) = 0;
124 public: virtual NXOpen::Curve * FollowCurve
125 (
126 ) = 0;
131 (
132 ) = 0;
136 public: virtual void SetIsTerminalSegment
137 (
138 NXOpen::Routing::Terminal isTerminal
139 ) = 0;
144 (
145 ) = 0;
149 public: virtual void SetSegmentInteriorPart
150 (
151 NXOpen::Assemblies::Component * interiorPart
152 ) = 0;
156 public: virtual std::vector<NXOpen::Routing::Stock *> GetSegmentStock
157 (
158 ) = 0;
163 public: virtual std::vector<NXOpen::Routing::Stock *> GetSegmentAllStocks
164 (
165 ) = 0;
170 public: virtual std::vector<NXOpen::Routing::Electrical::CablewaysLayoutView *> GetCablewaysLayoutViews
171 (
172 ) = 0;
177 public: virtual std::vector<NXOpen::Routing::Electrical::CableDevice *> GetCableDevices
178 (
179 ) = 0;
184 (
185 ) = 0;
190 (
191 ) = 0;
196 (
197 ) = 0;
201 public: virtual double Length
202 (
203 ) = 0;
207 public: virtual NXString Guid
208 (
209 ) = 0;
213 public: virtual void GenerateNewGuid
214 (
215 ) = 0;
219 public: virtual bool IsSegmentFromBuiltInPath
220 (
221 ) = 0;
225 public: virtual std::vector<NXOpen::Routing::Electrical::Connection *> GetConnections
226 (
227 ) = 0;
231 public: virtual std::vector<NXOpen::Routing::Wire *> GetWires
232 (
233 ) = 0;
234 };
235 }
236}
237#ifdef _MSC_VER
238#pragma warning(pop)
239#endif
240#ifdef __GNUC__
241#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
242#pragma GCC diagnostic warning "-Wdeprecated-declarations"
243#endif
244#endif
245#undef EXPORTLIBRARY