|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.geometry.Spherical
public class Spherical
Utility functions for computing geodesic angles, distances and areas. The default radius is Earth's radius of 6378137 meters. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Constructor Summary | |
---|---|
protected |
Spherical()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static double |
computeArea(
Computes the area of the given loop. |
static double |
computeArea(
Computes the area of the given loop. |
static double |
computeDistanceBetween(LatLng from,
LatLng to)
Computes the distance between two LatLngs. |
static double |
computeDistanceBetween(LatLng from,
LatLng to,
double radius)
Computes the distance between two LatLngs. |
static double |
computeHeading(LatLng from,
LatLng to)
Computes the heading from one LatLng to another LatLng. |
static double |
computeLength(
Computes the length of the given path. |
static double |
computeLength(
Computes the length of the given path. |
static LatLng |
computeOffset(LatLng from,
double distance,
double heading)
Computes the LatLng produced by starting from a given LatLng and heading a given distance. |
static LatLng |
computeOffset(LatLng from,
double distance,
double heading,
double radius)
Computes the LatLng produced by starting from a given LatLng and heading a given distance. |
static double |
computeSignedArea(
Computes the signed area of the given loop. |
static double |
computeSignedArea(
Computes the signed area of the given loop. |
static LatLng |
interpolate(LatLng from,
LatLng to,
double fraction)
Travels a fraction of the way from one LatLng to another LatLng. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Spherical()
Method Detail |
---|
public static final double computeArea(loop, double radius)
public static final double computeArea(loop)
public static final double computeDistanceBetween(LatLng from, LatLng to, double radius)
public static final double computeDistanceBetween(LatLng from, LatLng to)
public static final double computeHeading(LatLng from, LatLng to)
public static final double computeLength(path, double radius)
public static final double computeLength(path)
public static final LatLng computeOffset(LatLng from, double distance, double heading, double radius)
public static final LatLng computeOffset(LatLng from, double distance, double heading)
public static final double computeSignedArea(loop, double radius)
public static final double computeSignedArea(loop)
public static final LatLng interpolate(LatLng from, LatLng to, double fraction)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |