Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

MDK 3.7.3

fun isNearOrOutsideBorder(coordinates: Coord2D, distance: Double): Boolean

Checks if the provided coordinates is near or outside the region's boundaries.

Return

true if the coordinates are near or outside the region's boundaries,

Parameters

coordinates

The coordinates to check.

distance

The maximum distance from the coordinates to consider it near.


fun isNearOrOutsideBorder(longitude: Double, latitude: Double, distance: Double): Boolean

Checks if the provided coordinates is near or outside the region's boundaries.

Return

true if the coordinates are near or outside the region's boundaries,

Parameters

longitude

The longitude of the coordinates to check.

latitude

The latitude of the coordinates to check.

distance

The maximum distance from the coordinates to consider it near.