hull

open fun hull(@NonNull a: Point, @NonNull b: Point): CoordinateBounds

Returns the convex hull of two points; the smallest bounds that contains both.

Return

The newly constructed record.

Parameters

a

The first of the two coordinates to fit.

b

The second of the two coordinates to fit.