All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geolatte.geom.ApproximateGeometryEquality Maven / Gradle / Ivy

Go to download

This geoLatte-geom library offers a geometry model that conforms to the OGC Simple Features for SQL specification.

The newest version!
package org.geolatte.geom;

/**
 * Created by Karel Maesen, Geovise BVBA on 2019-03-27.
 */
public class ApproximateGeometryEquality extends GeometryPositionEquality {


    /**
     * Constructs an instance that determines equality by comparing the positions to within the
     * specified precision
     *
     * @param precision the precision to use when determining equality
     */
    public ApproximateGeometryEquality(double precision) {
        super(new WithinTolerancePositionEquality(precision));
    }

    @Override
    public 

boolean equals(Geometry

first, Geometry

second) { return super.equals(first, second); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy