wasAntimeridianCrossed

fun wasAntimeridianCrossed(otherLongitude: Double): Boolean

Checks if the antimeridian (longitude 180°) was crossed between this longitude and the provided one.

Return

true if the antimeridian was crossed, false otherwise. This function uses destructuring assignment to extract the longitude from the current object.

Parameters

otherLongitude

the other longitude value to compare with.