pointInRect

Public Function

Get whether a point is inside of a rectangle.

Parameters
NameDescription

A

VecLike

The point to check.

point

VecLike

The rectangle's top left point as [x, y].

size

VecLike

The rectangle's size as [width, height].

Returns
boolean
References

VecLike

Edit this page
Last edited on 11 May 2023
pointInPolylinepointNearToLineSegment