AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIReferencePlane.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIReferencePlane_H_
4 #define _APIReferencePlane_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIElement.h"
9 
10 namespace AnyCAD{ namespace API
11 {
20  : public Element
21  {
23  public:
28  void SetCoordinate(const Coordinate3& _Coordinate);
33  Coordinate3 GetCoordinate() const;
34 
40  Real DistanceToPlane (const Vector3& worldPt) const;
46  bool OnLocalPlaneXY (const Vector3& worldPt) const;
47  };//ReferencePlane;
48 }}//API
49 
50 #endif //_APIReferencePlane_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
Coordinate.
Definition: APIMath.h:416
The base class for the data that need to be stored in document.
Definition: APIElement.h:22
Point or vector.
Definition: APIMath.h:37
The reference plane.
Definition: APIReferencePlane.h:19
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
double Real
Definition: APIMath.h:7