Skip to main content

Function: getYOfBlockingVtx()

getYOfBlockingVtx(blocking_vtx, paths, sim, verbose): number

Defined in: simulation/simulation.ts:1630

computes the y value of the highest vertex of the blocking floats. it is possible for the blocking float to not have been added yet, for instance, if the float is wrapping. In that case, this function returns

Parameters

blocking_vtx

YarnVertex | null

paths

WeftPath[]

sim

SimulationVars

verbose

boolean

Returns

number