Skip to main content

Function: getOrientation()

getOrientation(el, el2, warps, cns): boolean | null

Defined in: simulation/simulation.ts:2167

this gets the orientation between two vertexes based on the face values. If two consecutive cells go from false (heddle down)=> true (heddle up) then the weft is moving from the front face to the back face (false)

Parameters

el

YarnVertex

el2

YarnVertex

warps

number

cns

ContactNeighborhood[]

Returns

boolean | null