Class SnapManager
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.snap.SnapManager
-
public class SnapManager extends Object
Inputs and outputs are in model space, not view space.
-
-
Constructor Summary
Constructors Constructor Description SnapManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPolicies(Collection policies)static intgetToleranceInPixels(Blackboard blackboard)static voidsetToleranceInPixels(int toleranceInPixels, Blackboard blackboard)org.locationtech.jts.geom.Coordinatesnap(LayerViewPanel panel, org.locationtech.jts.geom.Coordinate originalCoordinate)booleanwasSnapCoordinateFound()
-
-
-
Method Detail
-
snap
public org.locationtech.jts.geom.Coordinate snap(LayerViewPanel panel, org.locationtech.jts.geom.Coordinate originalCoordinate)
-
addPolicies
public void addPolicies(Collection policies)
-
wasSnapCoordinateFound
public boolean wasSnapCoordinateFound()
-
getToleranceInPixels
public static int getToleranceInPixels(Blackboard blackboard)
-
setToleranceInPixels
public static void setToleranceInPixels(int toleranceInPixels, Blackboard blackboard)
-
-