Class GeometryValidator


  • public class GeometryValidator
    extends Validator
    Validates Geometry and related objects from the org.opengis.geometry package. This class should not be used directly; use the Validators convenience static methods instead.
    Since:
    2.2
    Version:
    3.0
    • Field Detail

      • tolerance

        public double tolerance
        Small tolerance values for comparisons of floating point numbers. The default value is 1.0E-6. Implementors can change this value before to run the tests.
    • Constructor Detail

      • GeometryValidator

        public GeometryValidator​(ValidatorContainer container)
        Creates a new validator.
        Parameters:
        container - The container of this validator.
    • Method Detail

      • validate

        public void validate​(Envelope object)
        Validates the given envelope.
        Parameters:
        object - The object to validate, or null.
      • validate

        public void validate​(DirectPosition object)
        Validates the given position.
        Parameters:
        object - The object to validate, or null.