public class OrientationTransformer extends Object
| Constructor and Description |
|---|
OrientationTransformer() |
| Modifier and Type | Method and Description |
|---|---|
static org.locationtech.jts.geom.Geometry |
transformCCW(org.locationtech.jts.geom.Geometry geometry)
Transforms a geometry using the Right Hand Rule specifications defined
in the latest GeoJSON specification.
|
static org.locationtech.jts.geom.LinearRing |
transformCCW(org.locationtech.jts.geom.LinearRing ring,
boolean isExteriorRing)
Transforms a polygon using the Right Hand Rule specifications defined
in the latest GeoJSON specification.
|
static org.locationtech.jts.geom.Polygon |
transformCCW(org.locationtech.jts.geom.Polygon polygon)
Transforms a polygon using the Right Hand Rule specifications defined
in the latest GeoJSON specification.
|
public static org.locationtech.jts.geom.Geometry transformCCW(org.locationtech.jts.geom.Geometry geometry)
geometry - to be transformedpublic static org.locationtech.jts.geom.Polygon transformCCW(org.locationtech.jts.geom.Polygon polygon)
polygon - to be transformedpublic static org.locationtech.jts.geom.LinearRing transformCCW(org.locationtech.jts.geom.LinearRing ring,
boolean isExteriorRing)
ring - the LinearRing, a constraint specific to PolygonsisExteriorRing - true if the LinearRing is the exterior polygon ring, the one that defines the boundaryCopyright © 2022. All rights reserved.