createAtFacetIndex MethodStatic

Create a walker for a given polyface at a specified facet.

  • If facetIndex or offsetWithinFacet is invalid for the input polyface, the walker returns true for isUndefined.

createAtFacetIndex(polyface: IndexedPolyface, facetIndex: number, offsetWithinFacet: number0): IndexedPolyfaceWalker

Parameter Type Description
polyface IndexedPolyface the polyface to reference
facetIndex number index of the facet to reference
offsetWithinFacet number optional 0-based offset within the face loop of the facet (default 0). This allows
the caller to start the walker at a particular edge of the facet.

Returns - IndexedPolyfaceWalker

Defined in

Last Updated: 21 February, 2025