pointInPolyline

Public Function

Hit test a point and a polyline using a minimum distance.

Parameters
NameDescription

A

VecLike

The point to check.

points

VecLike[]

The points that make up the polyline.

distance

(optional)

number

The mininum distance that qualifies a hit.

Returns
boolean

Boolean

References

VecLike

Edit this page
Last edited on 11 May 2023
pointInPolygonpointInRect