NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Routing_LinearPathBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Routing_LinearPathBuilder.ja
9
//
10
// 生成工具:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成,请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.h>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/Builder.hxx>
22
#include <NXOpen/Routing_ElbowSnapSettings.hxx>
23
#include <NXOpen/Routing_LinearPathSettings.hxx>
24
#include <NXOpen/Routing_PathStockBuilder.hxx>
25
#include <NXOpen/ugmath.hxx>
26
#include <NXOpen/libnxopencpp_routing_exports.hxx>
27
#ifdef _MSC_VER
28
#pragma warning(push)
29
#pragma warning(disable:4996)
30
#endif
31
#ifdef __GNUC__
32
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33
#endif
34
namespace
NXOpen
35
{
36
namespace
Routing
37
{
38
class
LinearPathBuilder
;
39
}
40
class
Builder
;
41
class
NXObject
;
42
class
Point
;
43
namespace
Routing
44
{
45
class
ControlPoint
;
46
}
47
namespace
Routing
48
{
49
class
ElbowSnapSettings
;
50
}
51
namespace
Routing
52
{
53
class
ISegment
;
54
}
55
namespace
Routing
56
{
57
class
LinearPathSettings
;
58
}
59
namespace
Routing
60
{
61
class
PathStockBuilder
;
62
}
63
namespace
Routing
64
{
65
class
_LinearPathBuilderBuilder;
66
class
LinearPathBuilderImpl;
93
class
NXOPENCPP_ROUTINGEXPORT LinearPathBuilder :
public
NXOpen::Builder
94
{
95
private
:
LinearPathBuilderImpl
* m_linearpathbuilder_impl;
96
private
:
friend
class
_LinearPathBuilderBuilder;
97
protected
: LinearPathBuilder();
98
public
: ~LinearPathBuilder();
102
public
:
NXOpen::Routing::ElbowSnapSettings
*
ElbowSnapSettings
103
(
104
);
108
public
:
void
SetElbowSnapSettings
109
(
110
NXOpen::Routing::ElbowSnapSettings
* snapSettings
111
);
115
public
:
NXOpen::Routing::PathStockBuilder
*
PathStockBuilder
116
(
117
);
121
public
:
void
SetPathStockBuilder
122
(
123
NXOpen::Routing::PathStockBuilder
* stockBuilder
124
);
128
public
:
NXOpen::Routing::LinearPathSettings
*
LinearPathSettings
129
(
130
);
134
public
:
void
SetLinearPathSettings
135
(
136
NXOpen::Routing::LinearPathSettings
* settingsBuilder
137
);
143
public
:
NXOpen::Routing::ControlPoint
*
AddPreviewControlPoint
144
(
145
const
NXOpen::Point3d
& location
146
);
152
public
:
void
SetControlPointDefiningPoint
153
(
154
NXOpen::Routing::ControlPoint
* previewRcp ,
156
NXOpen::Point
* point
157
);
163
public
:
void
SetControlPointDefiningObject
164
(
165
NXOpen::Routing::ControlPoint
* previewRcp ,
167
const
NXOpen::Point3d
& position ,
168
NXOpen::NXObject
*
object
169
);
173
public
:
void
RemoveLastNonPreviewControlPoint
174
(
175
);
179
public
:
void
SettingChanged
180
(
181
);
185
public
:
NXOpen::Routing::ControlPoint
*
GetLastControlPoint
186
(
187
);
191
public
:
void
SetIsNewControlPointRequired
192
(
193
bool
isNewControlPointRequired
194
);
198
public
:
void
SetIsEccentricModeSelected
199
(
200
bool
isEccentricModeSelected
201
);
205
public
:
NXOpen::Routing::ISegment
*
GetParentSegmentOfEccentricSegment
206
(
207
);
211
public
:
void
SetParentSegmentOfEccentricSegment
212
(
213
NXOpen::Routing::ISegment
* parentSegment
214
);
215
};
216
}
217
}
218
#ifdef _MSC_VER
219
#pragma warning(pop)
220
#endif
221
#ifdef __GNUC__
222
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
223
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
224
#endif
225
#endif
226
#undef EXPORTLIBRARY