org.h2gis.h2spatialext.function.spatial.edit
Class EditUtilities

java.lang.Object
  extended by org.h2gis.h2spatialext.function.spatial.edit.EditUtilities

public class EditUtilities
extends Object

Common utilities used by the edit functions

Author:
Erwan Bocher

Constructor Summary
EditUtilities()
           
 
Method Summary
static com.vividsolutions.jts.operation.distance.GeometryLocation getVertexToSnap(com.vividsolutions.jts.geom.Geometry g, com.vividsolutions.jts.geom.Point p, double tolerance)
          Gets the coordinate of a Geometry that is the nearest of a given Point, with a distance tolerance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditUtilities

public EditUtilities()
Method Detail

getVertexToSnap

public static com.vividsolutions.jts.operation.distance.GeometryLocation getVertexToSnap(com.vividsolutions.jts.geom.Geometry g,
                                                                                         com.vividsolutions.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:


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.