addPath Method

Push edges all around a facet, returning to vertexArray[0].

addPath(vertexArray: number[], facetIndex: number, closeLoop: booleantrue): void

Parameter Type Description
vertexArray number[] array of vertex indices around facet
facetIndex number value to carry along during matching
closeLoop boolean true to add an edge from last to first vertex.

Returns - void

Defined in

Last Updated: 21 February, 2025