AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::Entity类 参考

Hold the TopoShape and it's rendering style. 更多...

#include <APIEntity.h>

类 AnyCAD::API::Entity 继承关系图:
AnyCAD::API::Object

Public 成员函数

void SetTopoShape (const TopoShape &pTopoShape)
 
TopoShape GetTopoShape () const
 
void SetMaterialId (const String &materialId)
 
String GetMaterialId () const
 
AABox GetBBox () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

Hold the TopoShape and it's rendering style.

TODO:

成员函数说明

AABox AnyCAD::API::Entity::GetBBox ( ) const

Get the Bounding box

返回
the Bounding box
String AnyCAD::API::Entity::GetMaterialId ( ) const

Get the Material Id

返回
the material Id
TopoShape AnyCAD::API::Entity::GetTopoShape ( ) const

Get TopoShape

返回
the TopoShape
void AnyCAD::API::Entity::SetMaterialId ( const String materialId)

Set the Material Id

参数
materialIdthe material Id
void AnyCAD::API::Entity::SetTopoShape ( const TopoShape pTopoShape)

Set TopoShape to the Entity

参数
pTopoShapethe TopoShape

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