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

Public Member Functions

boolean Initialize (TopoShape shape)
 
GDir GetDirection ()
 
long GetHoleCount ()
 
TopoShape GetHoleExteriorEdges (long holeIdx)
 
TopoShape GetHoleInteriorEdges (long holeIdx)
 

Detailed Description

<> Compute the Hole feature

Member Function Documentation

◆ GetHoleCount()

long HoleDetector.GetHoleCount ( )

Get the hole count.

Returns
the number.

◆ GetHoleExteriorEdges()

TopoShape HoleDetector.GetHoleExteriorEdges ( long  holeIdx)

Get the exterior edges of the hole.

Parameters
holeIdxthe hole index.
Returns
the edge IDs.

◆ GetHoleInteriorEdges()

TopoShape HoleDetector.GetHoleInteriorEdges ( long  holeIdx)

Get the interior edges of the hole.

Parameters
holeIdxthe hole index.
Returns
the edge IDs.

◆ Initialize()

boolean HoleDetector.Initialize ( TopoShape  shape)

Init the HoleDetector