intersects1D
intersects1D(a0, a1, b0, b1) ⇒ boolean
Returns true if two 1D lines intersect, touch is treated as intersection Parameters are assumed to be ordered, a1 >= a0, b1 >= b0
Kind: global function
Param | Type |
---|---|
a0 | Number |
a1 | Number |
b0 | Number |
b1 | Number |