Package org.elasticsearch.geometry.utils
Class StandardValidator
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.
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkZ
(double zValue) static GeometryValidator
instance
(boolean ignoreZValue) void
Validates 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:GeometryValidator
Validates the geometry and throws IllegalArgumentException if the geometry is not valid- Specified by:
validate
in interfaceGeometryValidator
-