NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Ellipse.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Ellipse.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/Conic.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 Ellipse;
34 class Conic;
35 class _EllipseBuilder;
36 class EllipseImpl;
40 class NXOPENCPPEXPORT Ellipse : public NXOpen::Conic
41 {
42 private: EllipseImpl * m_ellipse_impl;
43 private: friend class _EllipseBuilder;
44 protected: Ellipse();
45 public: ~Ellipse();
49 public: double MajorRadius
50 (
51 );
55 public: double MinorRadius
56 (
57 );
61 public: double StartAngle
62 (
63 );
67 public: double EndAngle
68 (
69 );
73 public: void GetParameters
74 (
75 double* majorRadius ,
76 double* minorRadius ,
77 double* startAngle ,
78 double* endAngle ,
79 double* rotationAngle ,
80 NXOpen::Point3d* center
81 );
85 public: void SetParameters
86 (
87 const NXOpen::Point3d & startPoint ,
88 const NXOpen::Point3d & endPoint ,
89 const NXOpen::Point3d & anchorPoint ,
90 double rho
91 );
95 public: void SetParameters
96 (
97 double majorRadius ,
98 double minorRadius ,
99 double startAngle ,
100 double endAngle ,
101 double rotationAngle ,
102 const NXOpen::Point3d & center
103 );
104 };
105}
106#ifdef _MSC_VER
107#pragma warning(pop)
108#endif
109#ifdef __GNUC__
110#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
111#pragma GCC diagnostic warning "-Wdeprecated-declarations"
112#endif
113#endif
114#undef EXPORTLIBRARY