org.gwtopenmaps.openlayers.client.geometry
Class Geometry
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.geometry.Geometry
- Direct Known Subclasses:
- Collection, Point
public class Geometry
- extends OpenLayersObjectWrapper
- Author:
- Edwin Commandeur - Atlis EJS, Curtis Jensen
LINEARRING_CLASS_NAME
public static final String LINEARRING_CLASS_NAME
- See Also:
- Constant Field Values
LINESTRING_CLASS_NAME
public static final String LINESTRING_CLASS_NAME
- See Also:
- Constant Field Values
POINT_CLASS_NAME
public static final String POINT_CLASS_NAME
- See Also:
- Constant Field Values
POLYGON_CLASS_NAME
public static final String POLYGON_CLASS_NAME
- See Also:
- Constant Field Values
MULTI_POLYGON_CLASS_NAME
public static final String MULTI_POLYGON_CLASS_NAME
- See Also:
- Constant Field Values
MULTI_LINE_STRING_CLASS_NAME
public static final String MULTI_LINE_STRING_CLASS_NAME
- See Also:
- Constant Field Values
Geometry
protected Geometry(JSObject element)
narrowToGeometry
public static Geometry narrowToGeometry(JSObject element)
destroy
public void destroy()
getBounds
public Bounds getBounds()
toString
public String toString()
- Overrides:
toString
in class Object
fromWKT
public static Geometry fromWKT(String wkt)
clone
public Geometry clone()
- Overrides:
clone
in class Object
calculateBounds
public void calculateBounds()
- Recalculate the bounds for the geometry.
getArea
public double getArea()
getLength
public double getLength()
Copyright © 2011 sourceforge. All Rights Reserved.