com.stackmob.sdk.util
Class GeoPoint
java.lang.Object
com.stackmob.sdk.util.GeoPoint
public class GeoPoint
- extends Object
Copyright 2011 StackMob
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoPoint
public GeoPoint(Double lon,
Double lat)
getLongitude
public Double getLongitude()
getLatitude
public Double getLatitude()
asList
public List<String> asList()
radiansToMi
public static Double radiansToMi(double radians)
radiansToKm
public static Double radiansToKm(double radians)
miToRadians
public static Double miToRadians(double mi)
kmToRadians
public static Double kmToRadians(double km)
Copyright © 2012 StackMob. All Rights Reserved.