com.stackmob.sdk.util
Class GeoPoint

java.lang.Object
  extended by 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.


Constructor Summary
GeoPoint(Double lon, Double lat)
           
 
Method Summary
 List<String> asList()
           
 Double getLatitude()
           
 Double getLongitude()
           
static Double kmToRadians(double km)
           
static Double miToRadians(double mi)
           
static Double radiansToKm(double radians)
           
static Double radiansToMi(double radians)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoPoint

public GeoPoint(Double lon,
                Double lat)
Method Detail

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 © 2011 StackMob. All Rights Reserved.