computeBbox

Takes a Geometry and calculates the bounding box of all input features.

Return

A BoundingBox that covers the geometry.


Computes the bounding box that encompasses all given coordinates.

Return

A BoundingBox that covers all the coordinates.

Parameters

coordinates

List of positions to compute the bounding box for.

Throws

if coordinates is empty or contains non-finite values.