NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Routing_SubdivideSegmentBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件:分段细分功能API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Routing_SubdivideSegmentBuilder.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/GeometricUtilities_OnPathDimensionBuilder.hxx>
22
#include <NXOpen/Builder.hxx>
23
#include <NXOpen/SelectObject.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
SubdivideSegmentBuilder
;
37
}
38
class
Builder
;
39
namespace
GeometricUtilities
40
{
41
class
OnPathDimensionBuilder
;
42
}
43
namespace
Routing
44
{
45
class
SelectISegment
;
46
}
47
namespace
Routing
48
{
49
class
_SubdivideSegmentBuilderBuilder;
50
class
SubdivideSegmentBuilderImpl;
68
class
NXOPENCPP_ROUTINGEXPORT SubdivideSegmentBuilder :
public
NXOpen::Builder
69
{
71
public
:
enum
Types
72
{
73
TypesAtPoint
,
74
TypesEqualSegments
,
75
TypesArcLengthSegments
76
};
77
78
public
:
enum
EqualSegmentsMethod
79
{
80
EqualSegmentsMethodEqualArcLength
,
81
EqualSegmentsMethodEqualParameter
82
};
83
private
:
SubdivideSegmentBuilderImpl
* m_subdividesegmentbuilder_impl;
84
private
:
friend
class
_SubdivideSegmentBuilderBuilder;
85
protected
:
SubdivideSegmentBuilder
();
86
public
:
~SubdivideSegmentBuilder
();
90
public
:
NXOpen::Routing::SelectISegment
*
Segment
91
(
92
);
97
public
:
NXOpen::GeometricUtilities::OnPathDimensionBuilder
*
SubdividePoint
98
(
99
);
103
public
:
bool
ReverseSubdividePoint
104
(
105
);
109
public
:
void
SetReverseSubdividePoint
110
(
111
bool
reverseSubdividePoint
112
);
116
public
:
NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod
EqualSegmentsOption
117
(
118
);
122
public
:
void
SetEqualSegmentsOption
123
(
124
NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod
equalSegmentsOption
125
);
131
public
:
NXOpen::GeometricUtilities::OnPathDimensionBuilder
*
SubdivideStartPercentage
132
(
133
);
139
public
:
NXOpen::GeometricUtilities::OnPathDimensionBuilder
*
SubdivideEndPercentage
140
(
141
);
147
public
:
int
SubdivideNumSegments
148
(
149
);
155
public
:
void
SetSubdivideNumSegments
156
(
157
int
subdivideNumSegments
158
);
163
public
:
NXOpen::GeometricUtilities::OnPathDimensionBuilder
*
SubdivideArcLength
164
(
165
);
169
public
:
NXOpen::Routing::SubdivideSegmentBuilder::Types
Type
170
(
171
);
175
public
:
void
SetType
176
(
177
NXOpen::Routing::SubdivideSegmentBuilder::Types
type
178
);
182
public
:
void
SetSplineSettings
183
(
184
bool
createTangency ,
185
bool
addPoints
186
);
190
public
:
void
GetSplineSettings
191
(
192
bool
* createTangency ,
193
bool
* createPoints
194
);
198
public
:
void
SetSplineSettings
199
(
200
bool
createTangency ,
201
bool
addPoints ,
202
bool
addFixConstraint
203
);
207
public
:
void
GetSplineSettings
208
(
209
bool
* createTangency ,
210
bool
* createPoints ,
211
bool
* addFixConstraint
212
);
213
};
214
}
215
}
216
#ifdef _MSC_VER
217
#pragma warning(pop)
218
#endif
219
#ifdef __GNUC__
220
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
221
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
222
#endif
223
#endif
224
#undef EXPORTLIBRARY