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

VecLike;

points

VecLike[];

Returns

boolean;
Prev
perimeterOfEllipse
Next
polygonIntersectsPolyline