NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Body.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Body.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/MeasureManager.hxx>
22
#include <NXOpen/DisplayableObject.hxx>
23
#include <NXOpen/IBody.hxx>
24
#include <NXOpen/INXObject.hxx>
25
#include <NXOpen/IOrientation.hxx>
26
#include <NXOpen/libnxopencpp_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
class
Body
;
37
namespace
Assemblies
38
{
39
class
Component
;
40
}
41
class
BasePart
;
42
class
ConvergentFacet
;
43
class
DisplayableObject
;
44
class
Edge
;
45
class
Face
;
46
namespace
Facet
47
{
48
class
FacetedBody
;
49
}
50
namespace
Features
51
{
52
class
Feature
;
53
}
54
class
IBody
;
55
class
INXObject
;
56
class
IOrientation
;
57
class
MeasureBodies
;
58
class
_BodyBuilder;
59
class
BodyImpl;
64
class
NXOPENCPPEXPORT Body :
public
NXOpen::DisplayableObject
,
public
virtual
NXOpen::IOrientation
,
public
virtual
NXOpen::IBody
65
{
66
private
:
BodyImpl
* m_body_impl;
67
private
:
friend
class
_BodyBuilder;
68
protected
: Body();
69
public
: ~Body();
73
public
: std::vector<NXOpen::Features::Feature *>
GetFeatures
74
(
75
);
79
public
: std::vector<NXOpen::Face *>
GetFaces
80
(
81
);
85
public
: std::vector<NXOpen::Edge *>
GetEdges
86
(
87
);
91
public
:
double
Density
92
(
93
);
97
public
:
void
SetDensity
98
(
99
double
density
100
);
104
public
:
bool
IsSheetBody
105
(
106
);
110
public
:
bool
IsSolidBody
111
(
112
);
116
public
:
void
RemoveMergedRibImprintedEdges
117
(
118
NXOpen::Face
* originalFace ,
119
const
std::vector<NXOpen::Edge *> & imprintedEdges
120
);
124
public
:
void
GetFacetedBody
125
(
126
NXOpen::Facet::FacetedBody
** facetBody ,
127
bool
* upToDate
128
);
132
public
:
bool
IsConvergentBody
133
(
134
);
138
public
:
int
SweepabilityCheck
139
(
140
);
147
public
:
int
GetNumberOfFacets
148
(
149
);
155
public
:
int
GetNumberOfVertices
156
(
157
);
165
public
:
NXOpen::ConvergentFacet
*
GetNextFacet
166
(
167
NXOpen::ConvergentFacet
* facet
168
);
174
public
:
NXOpen::ConvergentFacet
*
GetFirstFacetOnBody
175
(
176
);
177
};
178
}
179
#ifdef _MSC_VER
180
#pragma warning(pop)
181
#endif
182
#ifdef __GNUC__
183
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
184
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
185
#endif
186
#endif
187
#undef EXPORTLIBRARY