AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIEntityGroup.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIEntityGroup_H_
4 #define _APIEntityGroup_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIObject.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class TopoShape;
13  class Entity;
22  : public Object
23  {
25  public:
31  int AddTopoShape (const TopoShape& pTopoShape) ;
37  TopoShape GetTopoShape (int idx) const;
43  Entity GetEntity (int idx) const;
50  bool SetMaterial (int idx, const String& materialId) ;
55  int Size () const;
59  void Clear () ;
64  AABox ComputeBBox () const;
65  };//EntityGroup;
66 }}//API
67 
68 #endif //_APIEntityGroup_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
The entity groups.
Definition: APIEntityGroup.h:21
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33