|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.model.features.GeoLocation
public class GeoLocation
Internal location representation used for the maximum distance calculation.
Field Summary | |
---|---|
Location |
location
The location. |
private static String |
providerName
The internal provider name. |
Constructor Summary | |
---|---|
GeoLocation(double lat,
double lon)
Constructor |
Method Summary | |
---|---|
double |
distanceTo(GeoLocation otherLocation)
Does compute the approximate distance in meters between this and another location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final String providerName
public final Location location
Constructor Detail |
---|
public GeoLocation(double lat, double lon)
lat
- the latitudelon
- the longitudeMethod Detail |
---|
public final double distanceTo(GeoLocation otherLocation)
otherLocation
- the other location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |