AnyCAD Rapid API 2024
Help you to create a better world!
载入中...
搜索中...
未找到
TopoExplor类 参考

Public 成员函数

 TopoExplor (TopoShape shape, EnumTopoShapeType childType, EnumTopoShapeType parentType, boolean uniqueParent, boolean useOrientation)
 
 TopoExplor (TopoShape shape, EnumTopoShapeType childType, EnumTopoShapeType parentType, boolean uniqueParent)
 
 TopoExplor (TopoShape shape, EnumTopoShapeType childType, EnumTopoShapeType parentType)
 
TopoShapeList GetParentShapes (TopoShape subShape)
 
TopoShapeList GetChildrenShapes ()
 

静态 Public 成员函数

static TopoShapeList GetSubShapes (TopoShape topoShape)
 
static GPnt GetVertexValue (TopoShape vertex)
 
static GPntList GetVertexPoints (TopoShape shape)
 
static TopoShape GetOuterShell (TopoShape solid)
 
static TopoShapeList GetParentShapes (TopoShape shape, TopoShape subShape, EnumTopoShapeType parentType)
 

详细描述

<>
几何拓扑遍历.

构造及析构函数说明

◆ TopoExplor() [1/3]

TopoExplor.TopoExplor ( TopoShape  shape,
EnumTopoShapeType  childType,
EnumTopoShapeType  parentType,
boolean  uniqueParent,
boolean  useOrientation 
)

构造遍历器

参数
shape整体
childType子类型
parentType父类型
uniqueParent是否唯一父类
useOrientation是否区分朝向

◆ TopoExplor() [2/3]

TopoExplor.TopoExplor ( TopoShape  shape,
EnumTopoShapeType  childType,
EnumTopoShapeType  parentType,
boolean  uniqueParent 
)

构造遍历器

参数
shape整体
childType子类型
parentType父类型
uniqueParent是否唯一父类

◆ TopoExplor() [3/3]

TopoExplor.TopoExplor ( TopoShape  shape,
EnumTopoShapeType  childType,
EnumTopoShapeType  parentType 
)

构造遍历器

参数
shape整体
childType子类型
parentType父类型

成员函数说明

◆ GetChildrenShapes()

TopoShapeList TopoExplor.GetChildrenShapes ( )

获取所有的子拓扑对象.

返回
the shape list.

◆ GetOuterShell()

static TopoShape TopoExplor.GetOuterShell ( TopoShape  solid)
static

获取外表面的Shell

参数
solidmust be Solid
返回
the shell

◆ GetParentShapes() [1/2]

static TopoShapeList TopoExplor.GetParentShapes ( TopoShape  shape,
TopoShape  subShape,
EnumTopoShapeType  parentType 
)
static

获取对象的父对象

参数
shape整体
subShape子对象
parentType类型
返回

◆ GetParentShapes() [2/2]

TopoShapeList TopoExplor.GetParentShapes ( TopoShape  subShape)

获取父拓扑对象。

参数
subShape
返回
the parent list;

◆ GetSubShapes()

static TopoShapeList TopoExplor.GetSubShapes ( TopoShape  topoShape)
static

获取指定对象的子拓扑对象

参数
topoShapethe TopoShape
返回
the sub TopoShape

◆ GetVertexPoints()

static GPntList TopoExplor.GetVertexPoints ( TopoShape  shape)
static

获取所有的顶点的值.

参数
shapethe shape.
返回
the points.

◆ GetVertexValue()

static GPnt TopoExplor.GetVertexValue ( TopoShape  vertex)
static

获取顶点的值.

参数
vertexthe vertex to get.
返回
the point value.