fromCartesianArray
fun fromCartesianArray(cartesians: ReadonlyArray<Cartesian3>, ellipsoid: Ellipsoid? = definedExternally, result: Rectangle? = definedExternally): Rectangle(source)
Creates the smallest possible Rectangle that encloses all positions in the provided array.
Return
The modified result parameter or a new Rectangle instance if none was provided.
Parameters
cartesians
The list of Cartesian instances.
ellipsoid
The ellipsoid the cartesians are on. Default value - Ellipsoid.default
result
The object onto which to store the result, or undefined if a new instance should be created.