combineExtentsOrNull

fun combineExtentsOrNull(geometry1: Geometry, geometry2: Geometry): Envelope?

Returns an Envelope representing the minimum extent that encloses both geometry1 and geometry2. Supports true curves.

Return

The maximum extent of the two given geometries, or null if geometry1 and geometry2 do not have equivalent spatial references.

Since

200.1.0

Parameters

geometry1

A geometry object.

geometry2

Another geometry object.


Returns an Envelope representing the minimum extent that encloses all geometries in the given collection. Supports true curves.

Return

The maximum extent of the geometries in the collection, or null if the geometries do not have equivalent spatial references.

Since

200.1.0

Parameters

geometries

A collection of geometries.