Class GeometryValidator

java.lang.Object
org.opengis.test.Validator
org.opengis.test.geometry.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 Details

    • 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 Details

    • GeometryValidator

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

    • 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.