NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Routing_Path.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Routing_Path.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/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
32
namespace
NXOpen
33
{
34
namespace
Routing
35
{
36
class
Path
;
37
}
38
namespace
Assemblies
39
{
40
class
Component
;
41
}
42
class
BasePart
;
43
class
INXObject
;
44
class
NXObject
;
45
namespace
Routing
46
{
47
class
ControlPoint
;
48
}
49
namespace
Routing
50
{
51
class
IPath
;
52
}
53
namespace
Routing
54
{
55
class
ISegment
;
56
}
57
namespace
Routing
58
{
59
class
_PathBuilder;
60
class
PathImpl;
64
class
NXOPENCPP_ROUTINGEXPORT Path :
public
NXOpen::NXObject
,
public
virtual
NXOpen::Routing::IPath
65
{
66
private
:
PathImpl
* m_path_impl;
67
private
:
friend
class
_PathBuilder;
68
protected
: Path();
69
public
: ~Path();
73
public
:
double
GetLength
74
(
75
);
79
public
:
virtual
std::vector<NXOpen::Routing::ISegment *>
GetSegmentList
80
(
81
);
85
public
:
virtual
void
AddSegmentsToList
86
(
87
const
std::vector<NXOpen::Routing::ISegment *> & objs
88
);
92
public
:
virtual
void
DelSegmentsFromList
93
(
94
const
std::vector<NXOpen::Routing::ISegment *> & objs
95
);
99
public
:
virtual
NXOpen::Routing::ControlPoint
*
ControlPointStart
100
(
101
);
105
public
:
virtual
NXOpen::Routing::ControlPoint
*
ControlPointEnd
106
(
107
);
111
public
:
virtual
void
SetControlPointStart
112
(
113
NXOpen::Routing::ControlPoint
* start
114
);
118
public
:
virtual
void
SetControlPointEnd
119
(
120
NXOpen::Routing::ControlPoint
* end
121
);
122
};
123
}
124
}
125
#ifdef _MSC_VER
126
#pragma warning(pop)
127
#endif
128
#ifdef __GNUC__
129
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
130
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
131
#endif
132
#endif
133
#undef EXPORTLIBRARY