UtilitiesFunctionsisPointInRectVersion: NextisPointInRect CallableisPointInRect(point: Point2D, rect: Rect2D): booleanTests whether a point lies inside or on the boundary of an axis-aligned rect.Parameterspoint: Point2DPoint to test.rect: Rect2DAxis-aligned rectangle.Returns booleanTrue when the point is inside the rectangle bounds.
Tests whether a point lies inside or on the boundary of an axis-aligned rect.