All Known Implementing Classes:
StandardValidator

public interface GeometryValidator
/** Code copied from Elasticsearch 7.10, Apache License V2 https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/utils/GeometryValidator.java

Generic geometry validator that can be used by the parser to verify the validity of the parsed geometry
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(Geometry geometry)
    Validates the geometry and throws IllegalArgumentException if the geometry is not valid
  • Method Details

    • validate

      void validate(Geometry geometry)
      Validates the geometry and throws IllegalArgumentException if the geometry is not valid