Class JTSUtils.GeometryTarget

  • Enclosing class:
    JTSUtils

    public static final class JTSUtils.GeometryTarget
    extends GeometryUtils.Target
    Converter output target that creates a JTS Geometry.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.locationtech.jts.geom.CoordinateSequence coordinates  
      private int dimensionSystem  
      private org.locationtech.jts.geom.GeometryFactory factory  
      private org.locationtech.jts.geom.CoordinateSequence[] innerCoordinates  
      private int innerOffset  
      private org.locationtech.jts.geom.Geometry[] subgeometries  
      private int type  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        GeometryTarget​(int dimensionSystem)
      Creates a new instance of JTS Geometry target.
      private GeometryTarget​(int dimensionSystem, org.locationtech.jts.geom.GeometryFactory factory)  
    • Field Detail

      • dimensionSystem

        private final int dimensionSystem
      • factory

        private org.locationtech.jts.geom.GeometryFactory factory
      • type

        private int type
      • coordinates

        private org.locationtech.jts.geom.CoordinateSequence coordinates
      • innerCoordinates

        private org.locationtech.jts.geom.CoordinateSequence[] innerCoordinates
      • innerOffset

        private int innerOffset
      • subgeometries

        private org.locationtech.jts.geom.Geometry[] subgeometries
    • Constructor Detail

      • GeometryTarget

        public GeometryTarget​(int dimensionSystem)
        Creates a new instance of JTS Geometry target.
        Parameters:
        dimensionSystem - dimension system to use
      • GeometryTarget

        private GeometryTarget​(int dimensionSystem,
                               org.locationtech.jts.geom.GeometryFactory factory)