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

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

public class SnapToVerticesPolicy
extends java.lang.Object
implements SnapPolicy


Field Summary
static java.lang.String ENABLED_KEY
           
 
Constructor Summary
SnapToVerticesPolicy(Blackboard blackboard)
           
 
Method Summary
 com.vividsolutions.jts.geom.Coordinate snap(LayerViewPanel panel, com.vividsolutions.jts.geom.Coordinate originalPoint)
           
 
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

SnapToVerticesPolicy

public SnapToVerticesPolicy(Blackboard blackboard)
Method Detail

snap

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