Class ValidationFunctions
- java.lang.Object
-
- org.locationtech.jtstest.function.ValidationFunctions
-
public class ValidationFunctions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ValidationFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Geometry
invalidGeoms(Geometry g)
static Geometry
invalidLocations(Geometry g)
Validates all geometries in a collection independently.static boolean
isValidAllowSelfTouchingRingFormingHole(Geometry g)
-
-
-
Method Detail
-
invalidLocations
public static Geometry invalidLocations(Geometry g)
Validates all geometries in a collection independently. Errors are returned as points at the invalid location- Parameters:
g
-- Returns:
- the invalid locations, if any
-
isValidAllowSelfTouchingRingFormingHole
public static boolean isValidAllowSelfTouchingRingFormingHole(Geometry g)
-
-