|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.maps.client.geometrylib.SphericalUtils
public class SphericalUtils
Constructor Summary | |
---|---|
SphericalUtils()
|
Method Summary | |
---|---|
static double |
computeArea(JsArray<LatLng> loop)
Computes the area of the given loop. |
static double |
computeArea(JsArray<LatLng> loop,
int radius)
Computes the area of the given loop. |
static double |
computeArea(MVCArray<LatLng> loop)
Computes the area of the given loop. |
static double |
computeArea(MVCArray<LatLng> loop,
int radius)
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,
int 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(JsArray<LatLng> path)
Computes the length of the given path. |
static double |
computeLength(JsArray<LatLng> path,
int radius)
Computes the length of the given path. |
static double |
computeLength(MVCArray<LatLng> path)
Computes the length of the given path. |
static double |
computeLength(MVCArray<LatLng> path,
int radius)
Computes the length of the given path. |
static LatLng |
computeOffset(LatLng from,
int distance,
int heading)
Computes the LatLng produced by starting from a given LatLng and heading a given distance. |
static LatLng |
computeOffset(LatLng from,
int distance,
int heading,
int radius)
Computes the LatLng produced by starting from a given LatLng and heading a given distance. |
static double |
computeSignedArea(JsArray<LatLng> loop)
Computes the signed area of the given loop. |
static double |
computeSignedArea(JsArray<LatLng> loop,
int radius)
Computes the signed area of the given loop. |
static double |
computeSignedArea(MVCArray<LatLng> loop)
Computes the signed area of the given loop. |
static double |
computeSignedArea(MVCArray<LatLng> loop,
int radius)
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 |
---|
public SphericalUtils()
Method Detail |
---|
public static final double computeArea(JsArray<LatLng> loop)
loop
- public static final double computeArea(MVCArray<LatLng> loop)
loop
- public static final double computeArea(JsArray<LatLng> loop, int radius)
loop
- radius
- public static final double computeArea(MVCArray<LatLng> loop, int radius)
loop
- radius
- public static final double computeDistanceBetween(LatLng from, LatLng to)
from
- to
- public static final double computeDistanceBetween(LatLng from, LatLng to, int radius)
from
- to
- radius
- public static final double computeHeading(LatLng from, LatLng to)
from
- to
- public static final double computeLength(JsArray<LatLng> path)
path
- public static final double computeLength(MVCArray<LatLng> path)
path
- public static final double computeLength(JsArray<LatLng> path, int radius)
path
- radius
- public static final double computeLength(MVCArray<LatLng> path, int radius)
path
- radius
- public static final LatLng computeOffset(LatLng from, int distance, int heading)
from
- distance
- heading
- public static final LatLng computeOffset(LatLng from, int distance, int heading, int radius)
from
- distance
- heading
- radius
- public static final double computeSignedArea(JsArray<LatLng> loop)
loop
- public static final double computeSignedArea(MVCArray<LatLng> loop)
loop
- public static final double computeSignedArea(JsArray<LatLng> loop, int radius)
loop
- radius
- public static final double computeSignedArea(MVCArray<LatLng> loop, int radius)
loop
- radius
- public static final LatLng interpolate(LatLng from, LatLng to, double fraction)
from
- to
- fraction
-
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |