Class JTSUtils2

java.lang.Object
org.gvsig.fmap.geom.jts.util.JTSUtils2

public class JTSUtils2 extends Object
Author:
fdiaz
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.locationtech.jts.geom.Coordinate[]
     
    static org.locationtech.jts.geom.CoordinateSequence
    createCoordinateSequence2(com.vividsolutions.jts.geom.CoordinateSequence coordinates)
     
    static org.gvsig.fmap.geom.Geometry
    createGeometry(org.gvsig.crs.projection.lib.Projection proj, org.locationtech.jts.geom.Geometry jtsGeom)
     
    static org.gvsig.fmap.geom.Geometry
    createGeometry(org.gvsig.crs.projection.lib.Projection proj, org.locationtech.jts.geom.Geometry jtsGeom, org.gvsig.fmap.geom.type.GeometryType typeWhenEmpty)
     
    static org.locationtech.jts.geom.GeometryCollection
    createJTSCollection(org.gvsig.fmap.geom.aggregate.MultiPolygon aggregate)
     
    static org.locationtech.jts.geom.LinearRing
    createJTSLinearRing(org.gvsig.crs.projection.lib.Projection proj, com.vividsolutions.jts.geom.CoordinateSequence coordinates)
     
    static org.locationtech.jts.geom.Polygon
    createJTSPolygon(org.gvsig.crs.projection.lib.Projection proj, ArrayListCoordinateSequence coordinates, List<org.gvsig.fmap.geom.primitive.Ring> interiorRings)
     
    static org.locationtech.jts.geom.Polygon
    createJTSPolygon(org.gvsig.crs.projection.lib.Projection proj, org.gvsig.fmap.geom.primitive.OrientablePrimitive ring, List<? extends org.gvsig.fmap.geom.primitive.OrientablePrimitive> interiorRings)
     
    static org.locationtech.jts.geom.Polygon
    createJTSPolygon(org.gvsig.fmap.geom.primitive.Polygon polygon)
     
    static org.locationtech.jts.geom.GeometryFactory
     
    static org.locationtech.jts.geom.Geometry
    setSRID(org.gvsig.crs.projection.lib.Projection proj, org.locationtech.jts.geom.Geometry g)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      public static final org.slf4j.Logger logger
  • Constructor Details

    • JTSUtils2

      public JTSUtils2()
  • Method Details

    • getFactory

      public static org.locationtech.jts.geom.GeometryFactory getFactory()
    • createJTSPolygon

      public static org.locationtech.jts.geom.Polygon createJTSPolygon(org.gvsig.crs.projection.lib.Projection proj, ArrayListCoordinateSequence coordinates, List<org.gvsig.fmap.geom.primitive.Ring> interiorRings)
      Parameters:
      coordinates -
      interiorRings -
      Returns:
    • createJTSCollection

      public static org.locationtech.jts.geom.GeometryCollection createJTSCollection(org.gvsig.fmap.geom.aggregate.MultiPolygon aggregate)
    • createJTSPolygon

      public static org.locationtech.jts.geom.Polygon createJTSPolygon(org.gvsig.fmap.geom.primitive.Polygon polygon)
    • createJTSPolygon

      public static org.locationtech.jts.geom.Polygon createJTSPolygon(org.gvsig.crs.projection.lib.Projection proj, org.gvsig.fmap.geom.primitive.OrientablePrimitive ring, List<? extends org.gvsig.fmap.geom.primitive.OrientablePrimitive> interiorRings)
    • createJTSLinearRing

      public static org.locationtech.jts.geom.LinearRing createJTSLinearRing(org.gvsig.crs.projection.lib.Projection proj, com.vividsolutions.jts.geom.CoordinateSequence coordinates)
    • setSRID

      public static org.locationtech.jts.geom.Geometry setSRID(org.gvsig.crs.projection.lib.Projection proj, org.locationtech.jts.geom.Geometry g)
    • createCoordinate2

      public static org.locationtech.jts.geom.Coordinate[] createCoordinate2(ArrayListCoordinateSequence coordinates)
    • createCoordinateSequence2

      public static org.locationtech.jts.geom.CoordinateSequence createCoordinateSequence2(com.vividsolutions.jts.geom.CoordinateSequence coordinates)
    • createGeometry

      public static org.gvsig.fmap.geom.Geometry createGeometry(org.gvsig.crs.projection.lib.Projection proj, org.locationtech.jts.geom.Geometry jtsGeom)
    • createGeometry

      public static org.gvsig.fmap.geom.Geometry createGeometry(org.gvsig.crs.projection.lib.Projection proj, org.locationtech.jts.geom.Geometry jtsGeom, org.gvsig.fmap.geom.type.GeometryType typeWhenEmpty)