Class ST_IsValidReason
java.lang.Object
org.h2gis.api.AbstractFunction
org.h2gis.api.DeterministicScalarFunction
org.h2gis.functions.spatial.properties.ST_IsValidReason
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_IsValidReason
extends org.h2gis.api.DeterministicScalarFunction
Returns text stating if a geometry is valid or not an if not valid, a reason why
- Author:
- Erwan Bocher
-
Field Summary
Fields inherited from interface org.h2gis.api.Function
PROP_NAME, PROP_REMARKSFields inherited from interface org.h2gis.api.ScalarFunction
PROP_DETERMINISTIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringisValidReason(org.locationtech.jts.geom.Geometry geometry) Returns text stating whether a geometry is valid.static StringisValidReason(org.locationtech.jts.geom.Geometry geometry, int flag) Returns text stating whether a geometry is valid.Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.h2gis.api.Function
getProperty
-
Constructor Details
-
ST_IsValidReason
public ST_IsValidReason()
-
-
Method Details
-
getJavaStaticMethod
-
isValidReason
Returns text stating whether a geometry is valid. If not, returns a reason why.- Parameters:
geometry-- Returns:
-
isValidReason
Returns text stating whether a geometry is valid. If not, returns a reason why.- Parameters:
geometry-flag-- Returns:
-