pointInPolygon

See source code

Get whether a point is inside of a polygon.

const result = pointInPolygon(myPoint, myPoints)
function pointInPolygon(A: VecLike, points: VecLike[]): boolean

Parameters

NameDescription

A

points

Returns

boolean
Prev
perimeterOfEllipse
Next
polygonIntersectsPolyline