Skip to main content

Function: pruneDuplicateWeftVertices()

pruneDuplicateWeftVertices(temp_pic): YarnVertex[]

Defined in: simulation/simulation.ts:2199

The method of rendering wefts looks for center points between the two ACNs. If a duplicate vertex is found, it means that this weft is meant to travel on one side of this warp, and on the opposite side of it's neighboring warp.

Parameters

temp_pic

YarnVertex[]

Returns

YarnVertex[]