com.stackmob.sdk.util
Class GeoPoint

java.lang.Object
  extended by com.stackmob.sdk.util.GeoPoint

public class GeoPoint
extends java.lang.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(java.lang.Double lon, java.lang.Double lat)
           
 
Method Summary
 java.util.List<java.lang.String> asList()
           
 java.lang.Double getLatitude()
           
 java.lang.Double getLongitude()
           
static java.lang.Double kmToRadians(double km)
           
static java.lang.Double miToRadians(double mi)
           
static java.lang.Double radiansToKm(double radians)
           
static java.lang.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(java.lang.Double lon,
                java.lang.Double lat)
Method Detail

getLongitude

public java.lang.Double getLongitude()

getLatitude

public java.lang.Double getLatitude()

asList

public java.util.List<java.lang.String> asList()

radiansToMi

public static java.lang.Double radiansToMi(double radians)

radiansToKm

public static java.lang.Double radiansToKm(double radians)

miToRadians

public static java.lang.Double miToRadians(double mi)

kmToRadians

public static java.lang.Double kmToRadians(double km)


Copyright © 2012 StackMob. All Rights Reserved.