public class JTSUtils2
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
Constructor and Description |
---|
JTSUtils2() |
Modifier and Type | Method and Description |
---|---|
static org.locationtech.jts.geom.Coordinate[] |
createCoordinate2(ArrayListCoordinateSequence coordinates) |
static org.locationtech.jts.geom.CoordinateSequence |
createCoordinateSequence2(CoordinateSequence coordinates) |
static Geometry |
createGeometry(IProjection proj,
org.locationtech.jts.geom.Geometry jtsGeom) |
static Geometry |
createGeometry(IProjection proj,
org.locationtech.jts.geom.Geometry jtsGeom,
GeometryType typeWhenEmpty) |
static org.locationtech.jts.geom.GeometryCollection |
createJTSCollection(MultiPolygon aggregate) |
static LinearRing |
createJTSLinearRing(IProjection proj,
CoordinateSequence coordinates) |
static org.locationtech.jts.geom.Polygon |
createJTSPolygon(IProjection proj,
ArrayListCoordinateSequence coordinates,
java.util.List<Ring> interiorRings) |
static org.locationtech.jts.geom.Polygon |
createJTSPolygon(IProjection proj,
OrientablePrimitive ring,
java.util.List<? extends OrientablePrimitive> interiorRings) |
static org.locationtech.jts.geom.Polygon |
createJTSPolygon(Polygon polygon) |
static org.locationtech.jts.geom.GeometryFactory |
getFactory() |
static org.locationtech.jts.geom.Geometry |
setSRID(IProjection proj,
org.locationtech.jts.geom.Geometry g) |
public static org.locationtech.jts.geom.GeometryFactory getFactory()
public static org.locationtech.jts.geom.Polygon createJTSPolygon(IProjection proj, ArrayListCoordinateSequence coordinates, java.util.List<Ring> interiorRings)
coordinates
- interiorRings
- public static org.locationtech.jts.geom.GeometryCollection createJTSCollection(MultiPolygon aggregate)
public static org.locationtech.jts.geom.Polygon createJTSPolygon(Polygon polygon)
public static org.locationtech.jts.geom.Polygon createJTSPolygon(IProjection proj, OrientablePrimitive ring, java.util.List<? extends OrientablePrimitive> interiorRings)
public static LinearRing createJTSLinearRing(IProjection proj, CoordinateSequence coordinates)
public static org.locationtech.jts.geom.Geometry setSRID(IProjection proj, org.locationtech.jts.geom.Geometry g)
public static org.locationtech.jts.geom.Coordinate[] createCoordinate2(ArrayListCoordinateSequence coordinates)
public static org.locationtech.jts.geom.CoordinateSequence createCoordinateSequence2(CoordinateSequence coordinates)
public static Geometry createGeometry(IProjection proj, org.locationtech.jts.geom.Geometry jtsGeom)
public static Geometry createGeometry(IProjection proj, org.locationtech.jts.geom.Geometry jtsGeom, GeometryType typeWhenEmpty)