|
|||||||||
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.Poly
public class Poly
Utility functions for computations involving polygons and polylines. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Constructor Summary | |
---|---|
protected |
Poly()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static boolean |
containsLocation(LatLng point,
Polygon polygon)
Computes whether the given point lies inside the specified polygon. |
static boolean |
isLocationOnEdge(LatLng point,
Polygon poly)
Computes whether the given point lies on or near to a polyline, or the edge of a polygon, within a specified tolerance. |
static boolean |
isLocationOnEdge(LatLng point,
Polygon poly,
double tolerance)
Computes whether the given point lies on or near to a polyline, or the edge of a polygon, within a specified tolerance. |
static boolean |
isLocationOnEdge(LatLng point,
Polyline poly)
Computes whether the given point lies on or near to a polyline, or the edge of a polygon, within a specified tolerance. |
static boolean |
isLocationOnEdge(LatLng point,
Polyline poly,
double tolerance)
Computes whether the given point lies on or near to a polyline, or the edge of a polygon, within a specified tolerance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Poly()
Method Detail |
---|
public static final boolean containsLocation(LatLng point, Polygon polygon)
public static final boolean isLocationOnEdge(LatLng point, Polygon poly, double tolerance)
public static final boolean isLocationOnEdge(LatLng point, Polygon poly)
public static final boolean isLocationOnEdge(LatLng point, Polyline poly, double tolerance)
public static final boolean isLocationOnEdge(LatLng point, Polyline poly)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |