java.lang.Object
org.elasticsearch.geometry.utils.StandardValidator
- All Implemented Interfaces:
GeometryValidator
Validator that only checks that altitude only shows up if ignoreZValue is set to true.
-
Field Summary
Fields inherited from interface org.elasticsearch.geometry.utils.GeometryValidator
NOOP -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckZ(double zValue) static GeometryValidatorinstance(boolean ignoreZValue) voidValidates the geometry and throws IllegalArgumentException if the geometry is not valid
-
Method Details
-
instance
-
checkZ
protected void checkZ(double zValue) -
validate
Description copied from interface:GeometryValidatorValidates the geometry and throws IllegalArgumentException if the geometry is not valid- Specified by:
validatein interfaceGeometryValidator
-