public class PolygonHelper extends Object
| Constructor and Description |
|---|
PolygonHelper()
|
| Modifier and Type | Method and Description |
|---|---|
static MultiPolygon |
multipolygonFromRings(Set
Given a set of LinearRings, create Multipolygon.
|
static Polygon |
polygonFromLinearRing(LinearRing
Convenience method for creating a simple polygon from a shell without holes.
|
public static PolygonpolygonFromLinearRing(LinearRing shell, GeometryFactory factory)
shell - the outline of the polygon.
factory - the factory to use.
public static MultiPolygonmultipolygonFromRings(Set <LinearRing > rings, boolean checkValid)
rings - the set of linear rings.