NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
ConvergentFacet.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// ConvergentFacet.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/IFacet.hxx>
22#include <NXOpen/ugmath.hxx>
23#include <NXOpen/libnxopencpp_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 class ConvergentFacet;
34 class Face;
35 class IFacet;
36 class _ConvergentFacetBuilder;
37 class ConvergentFacetImpl;
41 class NXOPENCPPEXPORT ConvergentFacet : public NXOpen::IFacet
42 {
43 private: ConvergentFacetImpl * m_convergentfacet_impl;
44 private: friend class _ConvergentFacetBuilder;
45 protected: ConvergentFacet();
46 public: ~ConvergentFacet();
64 public: void SetVertex0
65 (
66 const NXOpen::Point3d & point
67 );
85 public: void SetVertex1
86 (
87 const NXOpen::Point3d & point
88 );
106 public: void SetVertex2
107 (
108 const NXOpen::Point3d & point
109 );
128 (
129 );
148 (
149 );
168 (
169 );
173 public: std::vector<NXOpen::Point3d> GetVertices
174 (
175 );
179 public: bool IsValid
180 (
181 );
187 (
188 int edgeIndex
189 );
194 (
195 );
199 public: std::vector<NXOpen::Vector3d> GetVertexNormals
200 (
201 );
206 (
207 );
222 public: void SetVertices
223 (
224 const std::vector<NXOpen::Point3d> & points
225 );
229 public: void GetPlaneEquation
230 (
231 NXOpen::Vector3d* planeNormal ,
232 double* dCoefficient
233 );
238 public: void Destroy
239 (
240 );
241 };
242}
243#ifdef _MSC_VER
244#pragma warning(pop)
245#endif
246#ifdef __GNUC__
247#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
248#pragma GCC diagnostic warning "-Wdeprecated-declarations"
249#endif
250#endif
251#undef EXPORTLIBRARY