Skip to main content

Function: getUntouchedFloatsInRange()

getUntouchedFloatsInRange(i, j, all_floats, wefts, warps): number[]

Defined in: simulation/simulation.ts:502

given a range in i and/or j this returns any float that has at least part of it within the boundary formed by i and j.

Parameters​

i​

//the l can be less than 0 and r can be greater than wefts

l​

number

r​

number

j​

l​

number

r​

number

all_floats​

object[]

wefts​

number

warps​

number

Returns​

number[]