AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APICircleElement.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APICircleElement_H_
4 #define _APICircleElement_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 SetRadius(Real _Radius);
57  Real GetRadius() const;
58 
59  };//CircleElement;
60 }}//API
61 
62 #endif //_APICircleElement_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
The circle element.
Definition: APICircleElement.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