AtlasCT.com
User Manual v5.0

LatLong

Inheritance: Coordinate > LatLong

This class represent a geographical coordinate using longitude and latitude.

Summary
Inheritance: Coordinate > LatLong

The LatLong constructor.
Returns the latitude value of the coordinate.
Returns the longitude value of the coordinate.

Constructors

LatLong

LatLong(double lat
double lon)

The LatLong constructor.  Creates a new latitude and longitude coordinate instance.

Parameters

latThe latitude value of the coordinate.
lonThe longitude value of the coordinate.

Methods

getLat

double getLat()

Returns the latitude value of the coordinate.

Returns

The latitude value of the coordinate.

getLong

double getLong()

Returns the longitude value of the coordinate.

Returns

The longitude value of the coordinate.

This is the base class of the provided coordinates classes.
LatLong(double lat
double lon)
The LatLong constructor.
double getLat()
Returns the latitude value of the coordinate.
double getLong()
Returns the longitude value of the coordinate.