NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Facet_FacetedEdge.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 用于JA API的C++接口的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Facet_FacetedEdge.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/GeometricUtilities_CurveLocation.hxx>
22
#include <NXOpen/DisplayableObject.hxx>
23
#include <NXOpen/IBaseCurve.hxx>
24
#include <NXOpen/INXObject.hxx>
25
#include <NXOpen/ugmath.hxx>
26
#include <NXOpen/libnxopencpp_facet_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
Facet
37
{
38
class
FacetedEdge
;
39
}
40
namespace
Assemblies
41
{
42
class
Component
;
43
}
44
class
BasePart
;
45
class
DisplayableObject
;
46
namespace
Facet
47
{
48
class
FacetedBody
;
49
}
50
namespace
Facet
51
{
52
class
FacetedFace
;
53
}
54
class
IBaseCurve
;
55
class
INXObject
;
56
namespace
Facet
57
{
58
class
_FacetedEdgeBuilder;
59
class
FacetedEdgeImpl;
63
class
NXOPENCPP_FACETEXPORT FacetedEdge :
public
NXOpen::DisplayableObject
,
public
virtual
NXOpen::IBaseCurve
64
{
68
public
:
enum
FacetededgeType
69
{
70
FacetededgeTypeUndefined
,
71
FacetededgeTypeLinear
,
72
FacetededgeTypeCircular
,
73
FacetededgeTypeElliptical
,
74
FacetededgeTypeIntersection
,
75
FacetededgeTypeSpline
76
};
77
private
:
FacetedEdgeImpl
* m_facetededge_impl;
78
private
:
friend
class
_FacetedEdgeBuilder;
79
protected
:
FacetedEdge
();
80
public
:
~FacetedEdge
();
84
public
:
NXOpen::Facet::FacetedEdge::FacetededgeType
EdgeType
85
(
86
);
90
public
: std::vector<NXOpen::Facet::FacetedFace *>
GetFaces
91
(
92
);
96
public
:
void
GetVertices
97
(
98
NXOpen::Point3d
* vertex1 ,
99
NXOpen::Point3d
* vertex2
100
);
104
public
:
NXOpen::Facet::FacetedBody
*
GetBody
105
(
106
);
127
public
:
void
GetCurveData
128
(
129
NXOpen::Point3d
* position ,
130
NXOpen::Point3d
* dirOrEndPt ,
131
NXOpen::Point3d
* xAxis ,
132
double
* radius ,
133
double
* minorRadius
134
);
138
public
:
virtual
double
GetLength
139
(
140
);
144
public
:
virtual
bool
IsReference
145
(
146
);
150
public
:
virtual
std::vector<NXOpen::GeometricUtilities::CurveLocation>
GetLocations
151
(
152
);
153
};
154
}
155
}
156
#ifdef _MSC_VER
157
#pragma warning(pop)
158
#endif
159
#ifdef __GNUC__
160
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
161
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
162
#endif
163
#endif
164
#undef EXPORTLIBRARY