AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIEntity.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIEntity_H_
4 #define _APIEntity_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIObject.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class TopoShape;
21  : public Object
22  {
24  public:
29  void SetTopoShape (const TopoShape& pTopoShape) ;
34  TopoShape GetTopoShape () const;
39  void SetMaterialId (const String& materialId) ;
44  String GetMaterialId () const;
49  AABox GetBBox () const;
50  };//Entity;
51 }}//API
52 
53 #endif //_APIEntity_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
AABox.
Definition: APIMath.h:281
std::string String
Definition: APIString.h:10
Hold the TopoShape and it's rendering style.
Definition: APIEntity.h:20
平台基类
Definition: APIObject.h:17
拓扑对象
Definition: APITopoShape.h:18
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33