com.vividsolutions.jump.workbench.ui.snap
Class SnapManager

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.snap.SnapManager

public class SnapManager
extends java.lang.Object

Inputs and outputs are in model space, not view space.


Constructor Summary
SnapManager()
           
 
Method Summary
 void addPolicies(java.util.Collection policies)
           
static int getToleranceInPixels(Blackboard blackboard)
           
static void setToleranceInPixels(int toleranceInPixels, Blackboard blackboard)
           
 com.vividsolutions.jts.geom.Coordinate snap(LayerViewPanel panel, com.vividsolutions.jts.geom.Coordinate originalCoordinate)
           
 boolean wasSnapCoordinateFound()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapManager

public SnapManager()
Method Detail

snap

public com.vividsolutions.jts.geom.Coordinate snap(LayerViewPanel panel,
                                                   com.vividsolutions.jts.geom.Coordinate originalCoordinate)

addPolicies

public void addPolicies(java.util.Collection policies)

wasSnapCoordinateFound

public boolean wasSnapCoordinateFound()

getToleranceInPixels

public static int getToleranceInPixels(Blackboard blackboard)

setToleranceInPixels

public static void setToleranceInPixels(int toleranceInPixels,
                                        Blackboard blackboard)