public class SelfIntersectionUtil extends Object
| Constructor and Description |
|---|
SelfIntersectionUtil()
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasSelfIntersections(LineString
Perform a test, whether the given string is sane.
|
static Set |
repair(LinearRing
Given a LinearRing, possibly containing errors (self-intersections), repair this ring by splitting it up into several rings.
|
public static boolean hasSelfIntersections(LineStringstring)
string - the lineString to check.
public static Set<LinearRing > repair(LinearRing input)
input - the ring to repair.