Package org.gvsig.fmap.geom.jts.util
Class JTSUtils2
java.lang.Object
org.gvsig.fmap.geom.jts.util.JTSUtils2
- Author:
- fdiaz
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.locationtech.jts.geom.Coordinate[]createCoordinate2(ArrayListCoordinateSequence coordinates) static org.locationtech.jts.geom.CoordinateSequencecreateCoordinateSequence2(com.vividsolutions.jts.geom.CoordinateSequence coordinates) static org.gvsig.fmap.geom.GeometrycreateGeometry(org.gvsig.crs.projection.lib.Projection proj, org.locationtech.jts.geom.Geometry jtsGeom) static org.gvsig.fmap.geom.GeometrycreateGeometry(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.GeometryCollectioncreateJTSCollection(org.gvsig.fmap.geom.aggregate.MultiPolygon aggregate) static org.locationtech.jts.geom.LinearRingcreateJTSLinearRing(org.gvsig.crs.projection.lib.Projection proj, com.vividsolutions.jts.geom.CoordinateSequence coordinates) static org.locationtech.jts.geom.PolygoncreateJTSPolygon(org.gvsig.crs.projection.lib.Projection proj, ArrayListCoordinateSequence coordinates, List<org.gvsig.fmap.geom.primitive.Ring> interiorRings) static org.locationtech.jts.geom.PolygoncreateJTSPolygon(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.PolygoncreateJTSPolygon(org.gvsig.fmap.geom.primitive.Polygon polygon) static org.locationtech.jts.geom.GeometryFactorystatic org.locationtech.jts.geom.GeometrysetSRID(org.gvsig.crs.projection.lib.Projection proj, org.locationtech.jts.geom.Geometry g)
-
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)
-