intersects

fun intersects(sector: Sector): Boolean

Indicates whether this sector intersects a specified sector. Two sectors intersect when both the latitude boundaries and the longitude boundaries overlap by a non-zero amount. An empty sector never intersects another sector.
The sectors are assumed to have normalized angles (angles within the range -90, +90 latitude and -180, +180 longitude).

Return

true if the specified sector intersections this sector, false otherwise

Parameters

sector

the sector to test intersection with