MinMaxUtils
in package
Utility class for MinMax.
Table of Contents
Methods
- getMinMaxX() : MinMax
- Retrieves the upper and lower bounds of the x-axis from an array of points.
- getMinMaxY() : MinMax
- Retrieves the upper and lower bounds of the y-axis from an array of points.
Methods
getMinMaxX()
Retrieves the upper and lower bounds of the x-axis from an array of points.
public
static getMinMaxX(array<string|int, mixed> $points) : MinMax
Parameters
- $points : array<string|int, mixed>
-
An array of points.
Return values
MinMaxgetMinMaxY()
Retrieves the upper and lower bounds of the y-axis from an array of points.
public
static getMinMaxY(array<string|int, mixed> $points) : MinMax
Parameters
- $points : array<string|int, mixed>
-
An array of points.