AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APITopoShape.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APITopoShape_H_
4 #define _APITopoShape_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class TopoShapeHistory;
19  {
21  public:
26  EnumTopoShapeType GetShapeType () const;
31  bool IsNullShape () const;
36  AABox GetBBox () const;
42  bool IsEqualShape (const TopoShape& shape) const;
48  bool IsSameShape (const TopoShape& shape) const;
55  TopoShape GetSubShape (int idx, int type) const;
60  Matrix4 GetLocalTransform () const;
65  void BuildHistory (long shapeId) ;
70  bool HasHistory () const;
75  void UpdateHistory (const TopoShapeHistory& pHistory) ;
80  TopoShapeHistory GetHistory () const;
81  };//TopoShape;
82 }}//API
83 
84 #endif //_APITopoShape_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
AABox.
Definition: APIMath.h:281
Matrix4.
Definition: APIMath.h:248
Track the shape history.
Definition: APITopoShapeHistory.h:17
拓扑对象
Definition: APITopoShape.h:18
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
EnumTopoShapeType
Definition: APIEnums.h:7