LatLongPosition
Builds a new position using the default distance formula.
Parameters
lat
latitude
lon
longitude
Builds a new position using the given distance formula.
Parameters
lat
latitude
lon
longitude
distanceFormula
the formula to use to compute distances
Builds a new position using the distance formula with the given index.
Parameters
lat
latitude
lon
longitude
distanceFormula
the index of the formula to use to compute distances
Builds a new position from the given numbers, using the default distance formula.
Parameters
lat
latitude
lon
longitude