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

拓扑对象 更多...

Public 成员函数

EnumTopoShapeType GetShapeType ()
 
bool IsNullShape ()
 
AABoxGetBBox ()
 
bool IsEqualShape (TopoShape^ shape)
 
bool IsSameShape (TopoShape^ shape)
 
TopoShapeGetSubShape (int idx, int type)
 
Matrix4GetLocalTransform ()
 
void BuildHistory (long shapeId)
 
bool HasHistory ()
 
void UpdateHistory (TopoShapeHistory^ pHistory)
 
TopoShapeHistoryGetHistory ()
 

详细描述

拓扑对象

几何对象的拓扑表现形式

成员函数说明

void AnyCAD::Platform::TopoShape::BuildHistory ( long  shapeId)

Initialize the hisotry;

参数
shapeIdthe id of the shape.
AABox ^ AnyCAD::Platform::TopoShape::GetBBox ( )

获取包围盒。

返回
the Bounding box
TopoShapeHistory ^ AnyCAD::Platform::TopoShape::GetHistory ( )

Get the shape history.

返回
the history.
Matrix4 ^ AnyCAD::Platform::TopoShape::GetLocalTransform ( )

获取局部的变换矩阵.

返回
the transform.
EnumTopoShapeType AnyCAD::Platform::TopoShape::GetShapeType ( )

获取类型。

返回
the TopoShapeShapeType
TopoShape ^ AnyCAD::Platform::TopoShape::GetSubShape ( int  idx,
int  type 
)

获取子拓扑结构。

参数
idxthe index
type: Face(1), Edge(2), Vertex(4)
返回
the sub TopoShape
bool AnyCAD::Platform::TopoShape::HasHistory ( )

Test if has history.

返回
true if having.
bool AnyCAD::Platform::TopoShape::IsEqualShape ( TopoShape shape)

判断两个TopoShape是否相等.

参数
shapethe shape to be compared.
返回
true if equal.
bool AnyCAD::Platform::TopoShape::IsNullShape ( )

是否为空。

返回
true if shape is null.
bool AnyCAD::Platform::TopoShape::IsSameShape ( TopoShape shape)

判断是否是同一个TopoShape。

参数
shapethe shape to be compared.
返回
true if same.
void AnyCAD::Platform::TopoShape::UpdateHistory ( TopoShapeHistory pHistory)

Set the shape history.

参数
pHistorythe history.

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