NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Face.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Face.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/DisplayableObject.hxx>
22
#include <NXOpen/INXObject.hxx>
23
#include <NXOpen/IOrientation.hxx>
24
#include <NXOpen/IParameterizedSurface.hxx>
25
#include <NXOpen/IPlaneForXformByThreePlanes.hxx>
26
#include <NXOpen/IProfile.hxx>
27
#include <NXOpen/IReferenceAxis.hxx>
28
#include <NXOpen/ISurface.hxx>
29
#include <NXOpen/ResizeHoleData.hxx>
30
#include <NXOpen/ugmath.hxx>
31
#include <NXOpen/libnxopencpp_exports.hxx>
32
#ifdef _MSC_VER
33
#pragma warning(push)
34
#pragma warning(disable:4996)
35
#endif
36
#ifdef __GNUC__
37
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
38
#endif
39
namespace
NXOpen
40
{
41
class
Face
;
42
namespace
Assemblies
43
{
44
class
Component
;
45
}
46
class
BasePart
;
47
class
Body
;
48
class
ConvergentFacet
;
49
class
DisplayableObject
;
50
class
Edge
;
51
class
INXObject
;
52
class
IOrientation
;
53
class
IParameterizedSurface
;
54
class
IPlaneForXformByThreePlanes
;
55
class
IProfile
;
56
class
IReferenceAxis
;
57
class
ISurface
;
58
class
ResizeHoleData
;
59
class
_FaceBuilder;
60
class
FaceImpl;
64
class
NXOPENCPPEXPORT Face :
public
NXOpen::DisplayableObject
,
public
virtual
NXOpen::ISurface
,
public
virtual
NXOpen::IReferenceAxis
,
public
virtual
NXOpen::IProfile
,
public
virtual
NXOpen::IOrientation
,
public
virtual
NXOpen::IParameterizedSurface
,
public
virtual
NXOpen::IPlaneForXformByThreePlanes
65
{
67
public
:
enum
FaceType
68
{
69
FaceTypeRubber
,
70
FaceTypePlanar
,
71
FaceTypeCylindrical
,
72
FaceTypeConical
,
73
FaceTypeSpherical
,
74
FaceTypeSurfaceOfRevolution
,
75
FaceTypeParametric
,
76
FaceTypeBlending
,
77
FaceTypeOffset
,
78
FaceTypeSwept
,
79
FaceTypeConvergent
,
80
FaceTypeUndefined
81
};
82
83
public
:
enum
ChamferType
84
{
85
ChamferTypeOffsetOffset
,
87
ChamferTypeOffsetAngle
,
88
ChamferTypeVertex
,
89
ChamferTypeUndefined
90
};
91
92
public
:
enum
VirtualBlendCurveType
93
{
94
VirtualBlendCurveTypeLine
,
95
VirtualBlendCurveTypeCircle
,
96
VirtualBlendCurveTypeArc
,
97
VirtualBlendCurveTypeOther
98
};
99
private
:
FaceImpl
* m_face_impl;
100
private
:
friend
class
_FaceBuilder;
101
protected
:
Face
();
102
public
:
~Face
();
106
public
:
NXOpen::Face::FaceType
SolidFaceType
107
(
108
);
114
public
: std::vector<NXOpen::Edge *>
GetEdges
115
(
116
);
123
public
: std::vector<NXOpen::Edge *>
GetUnsortedEdges
124
(
125
);
129
public
:
NXOpen::Body
*
GetBody
130
(
131
);
137
public
:
int
GetNumberOfFacets
138
(
139
);
145
public
:
int
GetNumberOfVertices
146
(
147
);
154
public
:
NXOpen::ConvergentFacet
*
GetNextFacet
155
(
156
NXOpen::ConvergentFacet
* inputFacet
157
);
163
public
:
NXOpen::ConvergentFacet
*
GetFirstFacetOnFace
164
(
165
);
172
public
:
void
DestroyOwnedFacets
173
(
174
);
178
public
:
bool
GetChamferData
179
(
180
NXOpen::Face::ChamferType
* chamferType ,
181
std::vector<double> & offsets
184
);
188
public
:
void
GetBlendData
189
(
190
double
* radius ,
191
bool
* isBlendFace
192
);
196
public
:
NXOpen::ResizeHoleData
*
GetHoleData
197
(
198
bool
* isHoleFace
199
);
203
public
:
void
GetVirtualBlendCurveData
204
(
205
NXOpen::Face::VirtualBlendCurveType
* curveType ,
206
std::vector<double> & curveValue
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