contains

fun contains(latitude: Double, longitude: Double): Boolean

Checks if the given latitude and longitude are contained within the range defined by this GeoReference object.

Return

true if the latitude and longitude are contained within the range, false otherwise.

Parameters

latitude

The latitude to be checked.

longitude

The longitude to be checked.