AnyCAD C++ API
2018
首页
模块
命名空间
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
inc
Core
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;
18
class
AnyPlatformAPI_API
TopoShape
19
{
20
DECLARE_APIOBJECT
(
TopoShape
)
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_
AnyPlatformAPI_API
#define AnyPlatformAPI_API
Definition:
AnyPlatformAPI.h:8
AnyCAD::API::AABox
AABox.
Definition:
APIMath.h:281
AnyCAD::API::Matrix4
Matrix4.
Definition:
APIMath.h:248
AnyCAD::API::TopoShapeHistory
Track the shape history.
Definition:
APITopoShapeHistory.h:17
AnyCAD::API::TopoShape
拓扑对象
Definition:
APITopoShape.h:18
APIObjectDef.h
DECLARE_APIOBJECT
#define DECLARE_APIOBJECT(className)
Definition:
APIObjectDef.h:10
AnyCAD::API::EnumTopoShapeType
EnumTopoShapeType
Definition:
APIEnums.h:7
生成于 2018年 四月 15日 星期日 13:45:48 , 为 AnyCAD C++ API使用
1.8.5