Docs Home
/
KCL Standard Library
/
Functions
/
edgeId

edgeIdFunction in std

Given an edge index, find its ID.

Arguments

NameTypeDescriptionRequired
bodySolidThe solid whose edges we're trying to findYes
indexnumber(_)Edge to identify. The index is a stable ordering of edges, used when you can't get the usual ID of an edge.No
closestToPoint3dQuery the edge closest to this point. Uses absolute global coordinates.No

Returns

Edge - An edge of a solid.

Examples

Found a typo?