The entity groups.
更多...
#include <APIEntityGroup.h>
int AnyCAD::API::EntityGroup::AddTopoShape |
( |
const TopoShape & |
pTopoShape | ) |
|
void AnyCAD::API::EntityGroup::Clear |
( |
| ) |
|
AABox AnyCAD::API::EntityGroup::ComputeBBox |
( |
| ) |
const |
Compute the bounding box
- 返回
- the bounding box
Entity AnyCAD::API::EntityGroup::GetEntity |
( |
int |
idx | ) |
const |
Get the Entity by index
- 参数
-
- 返回
- the Entity. Return null if it doesn't exist.
TopoShape AnyCAD::API::EntityGroup::GetTopoShape |
( |
int |
idx | ) |
const |
bool AnyCAD::API::EntityGroup::SetMaterial |
( |
int |
idx, |
|
|
const String & |
materialId |
|
) |
| |
Set the Material for Entity
- 参数
-
idx | the index of the Entity |
materialId | the material id of the material |
- 返回
- false if failed.
int AnyCAD::API::EntityGroup::Size |
( |
| ) |
const |
Get the number of the TopoShape/Entity
- 返回
- the number of the TopoShape/Entity
该类的文档由以下文件生成: