Package org.h2gis.functions.spatial.edit
Class EditUtilities
java.lang.Object
org.h2gis.functions.spatial.edit.EditUtilities
Common utilities used by the edit functions
- Author:
- Erwan Bocher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.locationtech.jts.operation.distance.GeometryLocationgetVertexToSnap(org.locationtech.jts.geom.Geometry g, org.locationtech.jts.geom.Point p, double tolerance) Gets the coordinate of a Geometry that is the nearest of a given Point, with a distance tolerance.
-
Constructor Details
-
EditUtilities
public EditUtilities()
-
-
Method Details
-
getVertexToSnap
public static org.locationtech.jts.operation.distance.GeometryLocation getVertexToSnap(org.locationtech.jts.geom.Geometry g, org.locationtech.jts.geom.Point p, double tolerance) Gets the coordinate of a Geometry that is the nearest of a given Point, with a distance tolerance.- Parameters:
g-p-tolerance-- Returns:
-