intersects

open fun intersects(rect: GeoRect): GeoRect

Computes the intersection of this 2D-rectangle with another.

Return

A new GeoRect which results from the intersection of this GeoRect with another 2D-rectangle or null if those 2D-rectangles do not intersect.