拓扑对象
更多...
#include <APITopoShape.h>
void AnyCAD::API::TopoShape::BuildHistory |
( |
long |
shapeId | ) |
|
Initialize the hisotry;
- 参数
-
shapeId | the id of the shape. |
AABox AnyCAD::API::TopoShape::GetBBox |
( |
| ) |
const |
获取包围盒。
- 返回
- the Bounding box
Get the shape history.
- 返回
- the history.
Matrix4 AnyCAD::API::TopoShape::GetLocalTransform |
( |
| ) |
const |
获取局部的变换矩阵.
- 返回
- the transform.
获取类型。
- 返回
- the TopoShapeShapeType
TopoShape AnyCAD::API::TopoShape::GetSubShape |
( |
int |
idx, |
|
|
int |
type |
|
) |
| const |
获取子拓扑结构。
- 参数
-
idx | the index |
type | : Face(1), Edge(2), Vertex(4) |
- 返回
- the sub TopoShape
bool AnyCAD::API::TopoShape::HasHistory |
( |
| ) |
const |
Test if has history.
- 返回
- true if having.
bool AnyCAD::API::TopoShape::IsEqualShape |
( |
const TopoShape & |
shape | ) |
const |
判断两个TopoShape是否相等.
- 参数
-
shape | the shape to be compared. |
- 返回
- true if equal.
bool AnyCAD::API::TopoShape::IsNullShape |
( |
| ) |
const |
是否为空。
- 返回
- true if shape is null.
bool AnyCAD::API::TopoShape::IsSameShape |
( |
const TopoShape & |
shape | ) |
const |
判断是否是同一个TopoShape。
- 参数
-
shape | the shape to be compared. |
- 返回
- true if same.
Set the shape history.
- 参数
-
该类的文档由以下文件生成: