Class BufferGeometryValidator

  • All Implemented Interfaces:
    IGeometryValidator

    public class BufferGeometryValidator
    extends Object
    implements IGeometryValidator
    A geometry validator that takes an input geometry and attempts to ensure that it is valid by performing a set of functions to the geometry, ensuring that points are listed in the clockwise order. This functionality was produced for the work described in Boubrahimi et. al, 2018.
    Author:
    Original Soukaina Filali Boubrahimi, refactored by Dustin Kempton, Surabhi Priya, Data Mining Lab, Georgia State University
    • Constructor Detail

      • BufferGeometryValidator

        public BufferGeometryValidator()
    • Method Detail

      • produceValidGeometry

        public org.locationtech.jts.geom.Geometry produceValidGeometry​(org.locationtech.jts.geom.Geometry geom)
        Description copied from interface: IGeometryValidator
        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.
        Specified by:
        produceValidGeometry in interface IGeometryValidator
        Parameters:
        geom - The input geometry to force to conform to a set of validity rules.
        Returns:
        A valid copy of the input geometry.