|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.android.maps.GeoPoint
public class GeoPoint
An immutable class representing a pair of latitude and longitude, stored as integer numbers of microdegrees.
| Constructor Summary | |
|---|---|
GeoPoint(int latitudeE6,
int longitudeE6)
Constructs a GeoPoint with the given latitude and longitude, measured in microdegrees (degrees * 1E6). |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
int |
getLatitudeE6()
Returns the latitude of this GeoPoint in microdegrees (degrees * 1E6). |
int |
getLongitudeE6()
Returns the longitude of this GeoPoint in microdegrees (degrees * 1E6). |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeoPoint(int latitudeE6,
int longitudeE6)
latitudeE6 - The point's latitude. This will be clamped
to between -80 degrees and +80 degrees inclusive, in order to
maintain accuracy in the Mercator projection.longitudeE6 - The point's longitude. This will be
normalized to be greater than -180 degrees and less than or
equal to +180 degrees.| Method Detail |
|---|
public int getLatitudeE6()
public int getLongitudeE6()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||