Skip to content

inCircle

inCircle(point, center, radius): boolean

Test whether a point is inside a circle

Parameters

point: number[]

center: number[]

center point of circle

radius: number

radius of circle

Returns

boolean

Source

graphics/geometry.ts:116