zoomToDiameter

fun VisibleRegion.zoomToDiameter(diameter: Double): VisibleRegion

Gets the zoomed version of this so that the diameter is reached.

Return

a new VisibleRegion with approximately the given diameter

Parameters

diameter

the diameter to zoom the region to