Package org.esa.snap.core.util
Class AwtGeomToJtsGeomConverter
java.lang.Object
org.esa.snap.core.util.AwtGeomToJtsGeomConverter
-
Constructor Summary
ConstructorsConstructorDescriptionAwtGeomToJtsGeomConverter(org.locationtech.jts.geom.GeometryFactory geometryFactory, double flatness) Contructor. -
Method Summary
Modifier and TypeMethodDescriptionList<org.locationtech.jts.geom.LinearRing> createLinearRingList(Shape shape) List<org.locationtech.jts.geom.LineString> createLineStringList(Shape geometry) org.locationtech.jts.geom.MultiLineStringcreateMultiLineString(Shape shape) org.locationtech.jts.geom.MultiPolygoncreateMultiPolygon(Shape shape) createPathList(Shape shape, boolean forceClosedPaths) org.locationtech.jts.geom.PointcreatePoint(Point2D point) org.locationtech.jts.geom.PolygoncreatePolygon(Shape shape)
-
Constructor Details
-
AwtGeomToJtsGeomConverter
public AwtGeomToJtsGeomConverter() -
AwtGeomToJtsGeomConverter
public AwtGeomToJtsGeomConverter(org.locationtech.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.
-
-
Method Details
-
createPoint
-
createMultiLineString
-
createPolygon
-
createMultiPolygon
-
createLinearRingList
-
createLineStringList
-
createPathList
-