NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Edge.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Edge.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/Drawings_DraftingCurveInfo.hxx>
22
#include <NXOpen/GeometricUtilities_CurveLocation.hxx>
23
#include <NXOpen/DisplayableObject.hxx>
24
#include <NXOpen/IBaseCurve.hxx>
25
#include <NXOpen/ICurve.hxx>
26
#include <NXOpen/INXObject.hxx>
27
#include <NXOpen/IProfile.hxx>
28
#include <NXOpen/IReferenceAxis.hxx>
29
#include <NXOpen/ugmath.hxx>
30
#include <NXOpen/libnxopencpp_exports.hxx>
31
#ifdef _MSC_VER
32
#pragma warning(push)
33
#pragma warning(disable:4996)
34
#endif
35
#ifdef __GNUC__
36
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
37
#endif
38
namespace
NXOpen
39
{
40
class
Edge
;
41
namespace
Assemblies
42
{
43
class
Component
;
44
}
45
class
BasePart
;
46
class
Body
;
47
class
DisplayableObject
;
48
namespace
Drawings
49
{
50
class
DraftingCurveInfo
;
51
}
52
class
Face
;
53
class
IBaseCurve
;
54
class
ICurve
;
55
class
INXObject
;
56
class
IProfile
;
57
class
IReferenceAxis
;
58
class
_EdgeBuilder;
59
class
EdgeImpl;
63
class
NXOPENCPPEXPORT Edge :
public
NXOpen::DisplayableObject
,
public
virtual
NXOpen::IReferenceAxis
,
public
virtual
NXOpen::ICurve
,
public
virtual
NXOpen::IProfile
64
{
66
public
:
enum
EdgeType
67
{
68
EdgeTypeRubber
,
69
EdgeTypeLinear
,
70
EdgeTypeCircular
,
71
EdgeTypeElliptical
,
72
EdgeTypeIntersection
,
73
EdgeTypeSpline
,
74
EdgeTypeSpCurve
,
75
EdgeTypeForeign
,
76
EdgeTypeConstantParameter
,
77
EdgeTypeTrimmedCurve
,
78
EdgeTypeConvergent
,
79
EdgeTypeUndefined
80
};
81
private
:
EdgeImpl
* m_edge_impl;
82
private
:
friend
class
_EdgeBuilder;
83
protected
:
Edge
();
84
public
:
~Edge
();
88
public
:
NXOpen::Edge::EdgeType
SolidEdgeType
89
(
90
);
96
public
: std::vector<NXOpen::Face *>
GetFaces
97
(
98
);
105
public
: std::vector<NXOpen::Face *>
GetUnsortedFaces
106
(
107
);
111
public
:
void
GetVertices
112
(
113
NXOpen::Point3d
* vertex1 ,
114
NXOpen::Point3d
* vertex2
115
);
119
public
:
NXOpen::Body
*
GetBody
120
(
121
);
125
public
:
virtual
NXOpen::Drawings::DraftingCurveInfo
*
GetDraftingCurveInfo
126
(
127
);
131
public
:
virtual
bool
IsDraftingCurve
132
(
133
);
137
public
:
virtual
double
GetLength
138
(
139
);
143
public
:
virtual
bool
IsReference
144
(
145
);
149
public
:
virtual
std::vector<NXOpen::GeometricUtilities::CurveLocation>
GetLocations
150
(
151
);
152
};
153
}
154
#ifdef _MSC_VER
155
#pragma warning(pop)
156
#endif
157
#ifdef __GNUC__
158
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
159
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
160
#endif
161
#endif
162
#undef EXPORTLIBRARY