public class AwtGeomToJtsGeomConverter extends Object
Constructor and Description |
---|
AwtGeomToJtsGeomConverter() |
AwtGeomToJtsGeomConverter(com.vividsolutions.jts.geom.GeometryFactory geometryFactory,
double flatness)
Contructor.
|
Modifier and Type | Method and Description |
---|---|
List<com.vividsolutions.jts.geom.LinearRing> |
createLinearRingList(Shape shape) |
List<com.vividsolutions.jts.geom.LineString> |
createLineStringList(Shape geometry) |
com.vividsolutions.jts.geom.MultiLineString |
createMultiLineString(Shape shape) |
com.vividsolutions.jts.geom.MultiPolygon |
createMultiPolygon(Shape shape) |
List<List<com.vividsolutions.jts.geom.Coordinate>> |
createPathList(Shape shape,
boolean forceClosedPaths) |
com.vividsolutions.jts.geom.Point |
createPoint(Point2D point) |
com.vividsolutions.jts.geom.Polygon |
createPolygon(Shape shape) |
public AwtGeomToJtsGeomConverter()
public AwtGeomToJtsGeomConverter(com.vividsolutions.jts.geom.GeometryFactory geometryFactory, double flatness)
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.public com.vividsolutions.jts.geom.Point createPoint(Point2D point)
public com.vividsolutions.jts.geom.MultiLineString createMultiLineString(Shape shape)
public com.vividsolutions.jts.geom.Polygon createPolygon(Shape shape)
public com.vividsolutions.jts.geom.MultiPolygon createMultiPolygon(Shape shape)
public List<com.vividsolutions.jts.geom.LinearRing> createLinearRingList(Shape shape)
public List<com.vividsolutions.jts.geom.LineString> createLineStringList(Shape geometry)
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.