Class SnapToLineStringBeingEditedPolicy
- java.lang.Object
-
- com.vividsolutions.jump.workbench.ui.snap.SnapToLineStringBeingEditedPolicy
-
- All Implemented Interfaces:
SnapPolicy
public class SnapToLineStringBeingEditedPolicy extends Object implements SnapPolicy
A SnapPolicy to snap new vertices onto vetices being edited.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENABLED_KEY
-
Constructor Summary
Constructors Constructor Description SnapToLineStringBeingEditedPolicy(Blackboard blackboard, MultiClickTool cursor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.Coordinate
snap(LayerViewPanel panel, org.locationtech.jts.geom.Coordinate originalPoint)
-
-
-
Field Detail
-
ENABLED_KEY
public static final String ENABLED_KEY
-
-
Constructor Detail
-
SnapToLineStringBeingEditedPolicy
public SnapToLineStringBeingEditedPolicy(Blackboard blackboard, MultiClickTool cursor)
-
-
Method Detail
-
snap
public org.locationtech.jts.geom.Coordinate snap(LayerViewPanel panel, org.locationtech.jts.geom.Coordinate originalPoint)
- Specified by:
snap
in interfaceSnapPolicy
-
-