AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIArcElement.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIArcElement_H_
4 #define _APIArcElement_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 SetCenterAsMiddle(bool _CenterAsMiddle);
35  bool GetCenterAsMiddle() const;
36 
41  void SetCenterPt(const Vector3& _CenterPt);
46  Vector3 GetCenterPt() const;
47 
52  void SetStartPt(const Vector3& _StartPt);
57  Vector3 GetStartPt() const;
58 
63  void SetEndPt(const Vector3& _EndPt);
68  Vector3 GetEndPt() const;
69 
70  };//ArcElement;
71 }}//API
72 
73 #endif //_APIArcElement_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
The curve element.
Definition: APICurveElement.h:19
Point or vector.
Definition: APIMath.h:37
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
The arc element.
Definition: APIArcElement.h:21