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

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.snap.SnapToFeaturesPolicy
All Implemented Interfaces:
SnapPolicy

public class SnapToFeaturesPolicy
extends java.lang.Object
implements SnapPolicy


Field Summary
static java.lang.String ENABLED_KEY
           
 
Constructor Summary
SnapToFeaturesPolicy()
           
SnapToFeaturesPolicy(Blackboard blackboard)
           
 
Method Summary
 com.vividsolutions.jts.geom.Coordinate snap(LayerViewPanel panel, com.vividsolutions.jts.geom.Coordinate originalCoordinate)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENABLED_KEY

public static final java.lang.String ENABLED_KEY
Constructor Detail

SnapToFeaturesPolicy

public SnapToFeaturesPolicy(Blackboard blackboard)

SnapToFeaturesPolicy

public SnapToFeaturesPolicy()
Method Detail

snap

public com.vividsolutions.jts.geom.Coordinate snap(LayerViewPanel panel,
                                                   com.vividsolutions.jts.geom.Coordinate originalCoordinate)
Specified by:
snap in interface SnapPolicy