inSquare
inSquare(
point
,center
,apothem
):boolean
Test whether a point is inside a square rect
Parameters
• point: number
[]
• center: number
[]
center point of square
• apothem: number
apothem of square
Returns
boolean
inSquare(
point
,center
,apothem
):boolean
Test whether a point is inside a square rect
• point: number
[]
• center: number
[]
center point of square
• apothem: number
apothem of square
boolean