NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Annotations_Centerline2dBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API 的 C++ 接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Annotations_Centerline2dBuilder.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/Annotations_Centerline2dSettingsBuilder.hxx>
22
#include <NXOpen/Annotations_CenterlineBuilder.hxx>
23
#include <NXOpen/SelectObject.hxx>
24
#include <NXOpen/libnxopencpp_annotations_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
Annotations
35
{
36
class
Centerline2dBuilder
;
37
}
38
namespace
Annotations
39
{
40
class
Centerline2dSettingsBuilder
;
41
}
42
namespace
Annotations
43
{
44
class
CenterlineBuilder
;
45
}
46
class
SelectNXObject
;
47
namespace
Annotations
48
{
49
class
_Centerline2dBuilderBuilder;
50
class
Centerline2dBuilderImpl;
84
class
NXOPENCPP_ANNOTATIONSEXPORT Centerline2dBuilder :
public
NXOpen::Annotations::CenterlineBuilder
85
{
87
public
:
enum
Types
88
{
89
TypesFromCurves
,
90
TypesByPoints
91
};
92
93
public
:
enum
Offset
94
{
95
OffsetNone
,
96
OffsetDistanceMethod
,
97
OffsetObjectMethod
98
};
99
private
:
Centerline2dBuilderImpl
* m_centerline2dbuilder_impl;
100
private
:
friend
class
_Centerline2dBuilderBuilder;
101
protected
:
Centerline2dBuilder
();
102
public
:
~Centerline2dBuilder
();
106
public
:
NXOpen::SelectNXObject
*
Side1
107
(
108
);
112
public
:
NXOpen::SelectNXObject
*
Side2
113
(
114
);
118
public
:
NXOpen::SelectNXObject
*
Point1
119
(
120
);
124
public
:
NXOpen::SelectNXObject
*
Point2
125
(
126
);
130
public
:
NXOpen::Annotations::Centerline2dBuilder::Offset
OffsetMethod
131
(
132
);
136
public
:
void
SetOffsetMethod
137
(
138
NXOpen::Annotations::Centerline2dBuilder::Offset
offsetMethod
139
);
143
public
:
NXOpen::SelectNXObject
*
OffsetObject
144
(
145
);
149
public
:
double
OffsetDistance
150
(
151
);
155
public
:
void
SetOffsetDistance
156
(
157
double
offsetDistance
158
);
162
public
:
NXOpen::Annotations::Centerline2dBuilder::Types
Type
163
(
164
);
168
public
:
void
SetType
169
(
170
NXOpen::Annotations::Centerline2dBuilder::Types
type
171
);
175
public
:
NXOpen::SelectNXObject
*
Inherit
176
(
177
);
181
public
:
NXOpen::Annotations::Centerline2dSettingsBuilder
*
Settings
182
(
183
);
184
};
185
}
186
}
187
#ifdef _MSC_VER
188
#pragma warning(pop)
189
#endif
190
#ifdef __GNUC__
191
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
192
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
193
#endif
194
#endif
195
#undef EXPORTLIBRARY