NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Facet_FacetedBody.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Facet_FacetedBody.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/Facet_FacetedBodyCollection.hxx>
22#include <NXOpen/DisplayableObject.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_facet_exports.hxx>
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable:4996)
28#endif
29#ifdef __GNUC__
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31#endif
32namespace NXOpen
33{
34 namespace Facet
35 {
36 class FacetedBody;
37 }
38 class Body;
40 namespace Facet
41 {
42 class FacetedEdge;
43 }
44 namespace Facet
45 {
46 class FacetedFace;
47 }
48 namespace Facet
49 {
50 class _FacetedBodyBuilder;
51 class FacetedBodyImpl;
56 class NXOPENCPP_FACETEXPORT FacetedBody : public NXOpen::DisplayableObject
57 {
67 private: FacetedBodyImpl * m_facetedbody_impl;
68 private: friend class _FacetedBodyBuilder;
69 protected: FacetedBody();
70 public: ~FacetedBody();
76 (
77 );
83 (
84 );
90 (
91 int levelOfDetail
92 );
96 public: std::vector<NXOpen::Facet::FacetedFace *> GetFaces
97 (
98 );
103 (
104 );
109 public: std::vector<NXOpen::Facet::FacetedEdge *> GetEdges
110 (
111 );
116 (
117 );
122 (
123 );
127 public: double Volume
128 (
129 );
133 public: double SurfaceArea
134 (
135 );
142 (
143 );
148 public: void SetParameters
149 (
150 const NXOpen::Facet::FacetingParameters & parameters
151 );
155 public: int NumberOfFaces
156 (
157 );
162 public: NX_DEPRECATED("Deprecated in NX8.5.1. Use NXOpen::Facet::FacetedBody::BodyType instead") bool IsSheetBody
163 (
164 );
169 public: NX_DEPRECATED("Deprecated in NX8.5.1. Use NXOpen::Facet::FacetedBody::BodyType instead.") bool IsSolidBody
170 (
171 );
177 public: bool IsAssemblyLevel
178 (
179 );
186 (
187 );
193 (
194 );
202 (
203 );
204 };
205 }
206}
207#ifdef _MSC_VER
208#pragma warning(pop)
209#endif
210#ifdef __GNUC__
211#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
212#pragma GCC diagnostic warning "-Wdeprecated-declarations"
213#endif
214#endif
215#undef EXPORTLIBRARY