AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIEllipseElement.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIEllipseElement_H_
4 #define _APIEllipseElement_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APICurveElement.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class TopoShape;
13  class ReferencePlane;
22  : public CurveElement
23  {
25  public:
30  void SetCenterPt(const Vector3& _CenterPt);
35  Vector3 GetCenterPt() const;
36 
41  void SetNormalDirection(const Vector3& _NormalDirection);
46  Vector3 GetNormalDirection() const;
47 
52  void SetMajorEndPt(const Vector3& _MajorEndPt);
57  Vector3 GetMajorEndPt() const;
58 
63  void SetMajorMinorRatio(Real _MajorMinorRatio);
68  Real GetMajorMinorRatio() const;
69 
70  };//EllipseElement;
71 }}//API
72 
73 #endif //_APIEllipseElement_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
The ellipse element.
Definition: APIEllipseElement.h:21
The curve element.
Definition: APICurveElement.h:19
Point or vector.
Definition: APIMath.h:37
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
double Real
Definition: APIMath.h:7