Class AwtGeomToJtsGeomConverter


  • public class AwtGeomToJtsGeomConverter
    extends Object
    • Constructor Detail

      • 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 Detail

      • createPoint

        public org.locationtech.jts.geom.Point createPoint​(Point2D point)
      • createMultiLineString

        public org.locationtech.jts.geom.MultiLineString createMultiLineString​(Shape shape)
      • createPolygon

        public org.locationtech.jts.geom.Polygon createPolygon​(Shape shape)
      • createMultiPolygon

        public org.locationtech.jts.geom.MultiPolygon createMultiPolygon​(Shape shape)
      • createLinearRingList

        public List<org.locationtech.jts.geom.LinearRing> createLinearRingList​(Shape shape)
      • createLineStringList

        public List<org.locationtech.jts.geom.LineString> createLineStringList​(Shape geometry)
      • createPathList

        public List<List<org.locationtech.jts.geom.Coordinate>> createPathList​(Shape shape,
                                                                               boolean forceClosedPaths)