Class SelectNonRoundedBuildingAction

java.lang.Object
javax.swing.AbstractAction
org.openstreetmap.josm.actions.JosmAction
org.openstreetmap.josm.plugins.mapathoner.SelectNonRoundedBuildingAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, org.openstreetmap.josm.tools.Destroyable

public final class SelectNonRoundedBuildingAction extends org.openstreetmap.josm.actions.JosmAction
Select Non Rounded Building

Selects buildings that are almost rounded, i.e. the angles are +/- 1 degree from (180 - 360 / N) where N is the number of the nodes of the building.

The non rounded buildings found are added to the current selection.

This script is open source and licensed under GPL.

Since:
xxx
Author:
MikeTho16, qeef
See Also:
  • Constructor Details

    • SelectNonRoundedBuildingAction

      public SelectNonRoundedBuildingAction()
      Constructs a new SelectNonRoundedBuildingAction.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)