Interface Geometry.ValidationStatus

Enclosing interface:
Geometry

public static interface Geometry.ValidationStatus
  • Field Details

  • Method Details

    • isValid

      boolean isValid()
      True if the geoemtry are valid.
      Returns:
      true form valid geometries
    • getStatusCode

      int getStatusCode()
      Return the status code results of validate the geometry.
      Returns:
      validation code
    • getProblemLocation

      Point getProblemLocation()
      Return the nearest point to the problem when validate the geometry. If the geometry is valid, this return null.
      Returns:
      the nearest point to the problem or null.
    • getMessage

      String getMessage()
      Return a human readable message explaining the cause of the problem. If the geometry is valid this is null.
      Returns:
      the message cause of the problem.