NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
GeometricUtilities_PolygonPattern.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// GeometricUtilities_PolygonPattern.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/Expression.hxx>
22
#include <NXOpen/GeometricUtilities_DistancePatternSpacing.hxx>
23
#include <NXOpen/GeometricUtilities_HorizontalReference.hxx>
24
#include <NXOpen/GeometricUtilities_PolygonPatternSpacing.hxx>
25
#include <NXOpen/GeometricUtilities_IComponentBuilder.hxx>
26
#include <NXOpen/TaggedObject.hxx>
27
#include <NXOpen/libnxopencpp_geometricutilities_exports.hxx>
28
#ifdef _MSC_VER
29
#pragma warning(push)
30
#pragma warning(disable:4996)
31
#endif
32
#ifdef __GNUC__
33
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34
#endif
35
namespace
NXOpen
36
{
37
namespace
GeometricUtilities
38
{
39
class
PolygonPattern
;
40
}
41
class
Axis
;
42
class
Expression
;
43
namespace
GeometricUtilities
44
{
45
class
DistancePatternSpacing
;
46
}
47
namespace
GeometricUtilities
48
{
49
class
HorizontalReference
;
50
}
51
namespace
GeometricUtilities
52
{
53
class
IComponentBuilder
;
54
}
55
namespace
GeometricUtilities
56
{
57
class
PolygonPatternSpacing
;
58
}
59
class
Point
;
60
namespace
GeometricUtilities
61
{
62
class
_PolygonPatternBuilder;
63
class
PolygonPatternImpl;
67
class
NXOPENCPP_GEOMETRICUTILITIESEXPORT PolygonPattern :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
68
{
70
public
:
enum
SizeOptions
71
{
72
SizeOptionsInscribed
,
73
SizeOptionsCircumscribed
74
};
75
private
:
PolygonPatternImpl
* m_polygonpattern_impl;
76
private
:
friend
class
_PolygonPatternBuilder;
77
protected
:
PolygonPattern
();
78
public
:
~PolygonPattern
();
82
public
:
NXOpen::Axis
*
RotationAxis
83
(
84
);
88
public
:
void
SetRotationAxis
89
(
90
NXOpen::Axis
* rotationAxis
91
);
95
public
:
NXOpen::Point
*
RotationCenter
96
(
97
);
101
public
:
void
SetRotationCenter
102
(
103
NXOpen::Point
* rotationCenter
104
);
108
public
:
NXOpen::GeometricUtilities::DistancePatternSpacing
*
RadialSpacing
109
(
110
);
114
public
:
bool
Flip
115
(
116
);
120
public
:
void
SetFlip
121
(
122
bool
enabled
123
);
127
public
:
bool
UseRadialDirectionToggle
128
(
129
);
133
public
:
void
SetUseRadialDirectionToggle
134
(
135
bool
toggle
136
);
140
public
:
NXOpen::GeometricUtilities::PolygonPatternSpacing
*
PolygonSpacing
141
(
142
);
146
public
:
NXOpen::GeometricUtilities::PolygonPattern::SizeOptions
PolygonSizeOption
147
(
148
);
152
public
:
void
SetPolygonSizeOption
153
(
154
NXOpen::GeometricUtilities::PolygonPattern::SizeOptions
option
155
);
159
public
:
NXOpen::Expression
*
NumberOfSides
160
(
161
);
165
public
:
NXOpen::GeometricUtilities::HorizontalReference
*
HorizontalRef
166
(
167
);
172
public
:
virtual
bool
Validate
173
(
174
);
175
};
176
}
177
}
178
#ifdef _MSC_VER
179
#pragma warning(pop)
180
#endif
181
#ifdef __GNUC__
182
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
183
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
184
#endif
185
#endif
186
#undef EXPORTLIBRARY