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 void
addPolicies(Collection policies)
static int
getToleranceInPixels(Blackboard blackboard)
static void
setToleranceInPixels(int toleranceInPixels, Blackboard blackboard)
org.locationtech.jts.geom.Coordinate
snap(LayerViewPanel panel, org.locationtech.jts.geom.Coordinate originalCoordinate)
boolean
wasSnapCoordinateFound()
-
-
-
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)
-
-