expand
fun expand(rectangle: Rectangle, cartographic: Cartographic, result: Rectangle? = definedExternally): Rectangle(source)
Computes a rectangle by enlarging the provided rectangle until it contains the provided cartographic.
Return
The modified result parameter or a new Rectangle instance if one was not provided.
Parameters
rectangle
A rectangle to expand.
cartographic
A cartographic to enclose in a rectangle.
result
The object onto which to store the result.