AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
拓扑对象 更多...
Public 成员函数 | |
EnumTopoShapeType | GetShapeType () |
bool | IsNullShape () |
AABox^ | GetBBox () |
bool | IsEqualShape (TopoShape^ shape) |
bool | IsSameShape (TopoShape^ shape) |
TopoShape^ | GetSubShape (int idx, int type) |
Matrix4^ | GetLocalTransform () |
void | BuildHistory (long shapeId) |
bool | HasHistory () |
void | UpdateHistory (TopoShapeHistory^ pHistory) |
TopoShapeHistory^ | GetHistory () |
拓扑对象
几何对象的拓扑表现形式
void AnyCAD::Platform::TopoShape::BuildHistory | ( | long | shapeId | ) |
Initialize the hisotry;
shapeId | the id of the shape. |
AABox ^ AnyCAD::Platform::TopoShape::GetBBox | ( | ) |
获取包围盒。
TopoShapeHistory ^ AnyCAD::Platform::TopoShape::GetHistory | ( | ) |
Get the shape history.
Matrix4 ^ AnyCAD::Platform::TopoShape::GetLocalTransform | ( | ) |
获取局部的变换矩阵.
EnumTopoShapeType AnyCAD::Platform::TopoShape::GetShapeType | ( | ) |
获取类型。
TopoShape ^ AnyCAD::Platform::TopoShape::GetSubShape | ( | int | idx, |
int | type | ||
) |
bool AnyCAD::Platform::TopoShape::HasHistory | ( | ) |
Test if has history.
bool AnyCAD::Platform::TopoShape::IsEqualShape | ( | TopoShape^ | shape | ) |
判断两个TopoShape是否相等.
shape | the shape to be compared. |
bool AnyCAD::Platform::TopoShape::IsNullShape | ( | ) |
是否为空。
bool AnyCAD::Platform::TopoShape::IsSameShape | ( | TopoShape^ | shape | ) |
判断是否是同一个TopoShape。
shape | the shape to be compared. |
void AnyCAD::Platform::TopoShape::UpdateHistory | ( | TopoShapeHistory^ | pHistory | ) |
Set the shape history.
pHistory | the history. |