Class Overview
The class defines a latlong point object. The latitude range of LatLongPoint
object should be between -90 to +90 and longitude between -180 to +180.
Summary
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
Fields |
public
double |
latitude |
Latitude coordinate of a geographical position. |
public
double |
longitude |
Longitude coordinate of a geographical position. |
Public Constructors |
|
LatLongPoint(double latitude, double longitude)
Constructor to create an object of LatLongPoint.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
public
double
latitude
Since: API level 6
Latitude coordinate of a geographical position.
public
double
longitude
Since: API level 6
Longitude coordinate of a geographical position.
Public Constructors
public
LatLongPoint
(double latitude, double longitude)
Constructor to create an object of LatLongPoint.
Parameters
latitude
| latitude of any geographical point which has to be
between -90 to +90 |
longitude
| longitude of any geographical point which has to be
between -180 to +180 |