AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::TopoShapeGroup类 参考

拓扑对象组 更多...

Public 成员函数

void SetId (int id)
 
int GetId ()
 
int Add (TopoShape^ pTopoShape)
 
TopoShapeGetTopoShape (int idx)
 
TopoShapeGetAt (int idx)
 
void Clear ()
 
int Size ()
 

详细描述

拓扑对象组

多个TopoShape的集合。

成员函数说明

int AnyCAD::Platform::TopoShapeGroup::Add ( TopoShape pTopoShape)

Add TopoShape to Group

返回
the index of the TopoShape
void AnyCAD::Platform::TopoShapeGroup::Clear ( )

Clear the group

TopoShape ^ AnyCAD::Platform::TopoShapeGroup::GetAt ( int  idx)

Get the TopoShape by index

返回
the TopoShape. Return null if it doesn't exist.
int AnyCAD::Platform::TopoShapeGroup::GetId ( )

Get id.

返回
the id.
TopoShape ^ AnyCAD::Platform::TopoShapeGroup::GetTopoShape ( int  idx)

Get the TopoShape by index

返回
the TopoShape. Return null if it doesn't exist.
void AnyCAD::Platform::TopoShapeGroup::SetId ( int  id)

Set id.

参数
idthe id.
int AnyCAD::Platform::TopoShapeGroup::Size ( )

Get the number of the TopoShape

返回
the number of the TopoShape

该类的文档由以下文件生成: