Class SnapToLineStringBeingEditedPolicy

  • All Implemented Interfaces:
    SnapPolicy

    public class SnapToLineStringBeingEditedPolicy
    extends Object
    implements SnapPolicy
    A SnapPolicy to snap new vertices onto vetices being edited.
    • 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 interface SnapPolicy