AnyCAD Rapid API 2023
Help you to create a better world!
TopoExplor Class Reference

Public Member Functions

 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 ()
 

Static Public Member Functions

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)
 

Detailed Description

<>
Explor the sub shapes of a shape.

Member Function Documentation

◆ GetChildrenShapes()

TopoShapeList TopoExplor.GetChildrenShapes ( )

Get the children.

Returns
the shape list.

◆ GetOuterShell()

static TopoShape TopoExplor.GetOuterShell ( TopoShape  solid)
static

Get

Parameters
solidmust be Solid
Returns
the shell

◆ GetParentShapes()

TopoShapeList TopoExplor.GetParentShapes ( TopoShape  subShape)

Get the parents of shape.

Parameters
subShape
Returns
the parent list;

◆ GetSubShapes()

static TopoShapeList TopoExplor.GetSubShapes ( TopoShape  topoShape)
static

Explore the sub shape of the TopoShape

Parameters
topoShapethe TopoShape
Returns
the sub TopoShape

◆ GetVertexPoints()

static GPntList TopoExplor.GetVertexPoints ( TopoShape  shape)
static

Get all the vertices values of the shape.

Parameters
shapethe shape.
Returns
the points.

◆ GetVertexValue()

static GPnt TopoExplor.GetVertexValue ( TopoShape  vertex)
static

Get the point value of the vertex.

Parameters
vertexthe vertex to get.
Returns
the point value.