Documentation

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
MinMax

getMinMaxY()

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.

Return values
MinMax

        
On this page

Search results