Interface IGeometryValidator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.locationtech.jts.geom.Geometry produceValidGeometry​(org.locationtech.jts.geom.Geometry input)
      Performs some validation function on the input geometry and returns a new geometry that conforms to that validation method.
    • Method Detail

      • produceValidGeometry

        org.locationtech.jts.geom.Geometry produceValidGeometry​(org.locationtech.jts.geom.Geometry input)
        Performs some validation function on the input geometry and returns a new geometry that conforms to that validation method. An example would be to ensure that the coordinate list is in a counterclockwise direction.
        Parameters:
        input - The input geometry to force to conform to a set of validity rules.
        Returns:
        A valid copy of the input geometry.