org.esa.beam.util
Class AwtGeomToJtsGeomConverter
java.lang.Object
org.esa.beam.util.AwtGeomToJtsGeomConverter
public class AwtGeomToJtsGeomConverter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AwtGeomToJtsGeomConverter
public AwtGeomToJtsGeomConverter()
AwtGeomToJtsGeomConverter
public AwtGeomToJtsGeomConverter(com.vividsolutions.jts.geom.GeometryFactory geometryFactory,
double flatness)
- Contructor.
- Parameters:
geometryFactory - The geometry factory.flatness - Used to decompose curved shapes into linear segments. If less than or equal to
zero, then actual flatness will be computed from shape bounds.
createPoint
public com.vividsolutions.jts.geom.Point createPoint(Point2D point)
createMultiLineString
public com.vividsolutions.jts.geom.MultiLineString createMultiLineString(Shape shape)
createPolygon
public com.vividsolutions.jts.geom.Polygon createPolygon(Shape shape)
createMultiPolygon
public com.vividsolutions.jts.geom.MultiPolygon createMultiPolygon(Shape shape)
createLinearRingList
public List<com.vividsolutions.jts.geom.LinearRing> createLinearRingList(Shape shape)
createLineStringList
public List<com.vividsolutions.jts.geom.LineString> createLineStringList(Shape geometry)
createPathList
public List<List<com.vividsolutions.jts.geom.Coordinate>> createPathList(Shape shape,
boolean forceClosedPaths)
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.