ucar.unidata.geoloc
Interface LatLonPoint

All Known Implementing Classes:
LatLonPointImpl

public interface LatLonPoint

Points on the Earth's surface, represented as (longitude,latitude), in units of degrees. Longitude is always between -180 and +180 deg. Latitude is always between -90 and +90 deg.

Author:
John Caron

Method Summary
 boolean equals(LatLonPoint pt)
          Returns true if this represents the same point as pt.
 double getLatitude()
          Returns the latitude, between +/- 90 degrees.
 double getLongitude()
          Returns the longitude, between +/-180 degrees
 

Method Detail

getLongitude

double getLongitude()
Returns the longitude, between +/-180 degrees

Returns:
longitude (degrees)

getLatitude

double getLatitude()
Returns the latitude, between +/- 90 degrees.

Returns:
latitude (degrees)

equals

boolean equals(LatLonPoint pt)
Returns true if this represents the same point as pt.

Parameters:
pt - point to check
Returns:
true if this represents the same point


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.