AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APISelectedShapeQuery.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APISelectedShapeQuery_H_
4 #define _APISelectedShapeQuery_H_
5 
6 #include "APIObjectDef.h"
7 
9 
10 namespace AnyCAD{ namespace API
11 {
12  class TopoShape;
21  : public SelectedEntityQuery
22  {
24  public:
29  TopoShape GetGeometry () const;
34  TopoShape GetSubGeometry () const;
39  bool HasPointOnGeometry () const;
45  Vector3 GetIntersectPoint (const Ray& ray) const;
51  Vector3 ToGloablePoint (const Vector3& point) const;
52  };//SelectedShapeQuery;
53 }}//API
54 
55 #endif //_APISelectedShapeQuery_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
Ray.
Definition: APIMath.h:364
The context to query the selected entity.
Definition: APISelectedEntityQuery.h:21
拓扑对象
Definition: APITopoShape.h:18
The context to query the selected shape.
Definition: APISelectedShapeQuery.h:20
Point or vector.
Definition: APIMath.h:37
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33