java.lang.Object
org.openstreetmap.josm.plugins.mapathoner.Helper

public class Helper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    that_building(org.openstreetmap.josm.data.osm.Way w, double is_squared_threshold, double maybe_squared_threshold, double is_rounded_threshold, double maybe_rounded_threshold)
    Decide if the building is squared or rounded.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Helper

      public Helper()
  • Method Details

    • that_building

      public static int that_building(org.openstreetmap.josm.data.osm.Way w, double is_squared_threshold, double maybe_squared_threshold, double is_rounded_threshold, double maybe_rounded_threshold)
      Decide if the building is squared or rounded. Returns 1 for is rounded, 2 for is squared, 3 for should be rounded, 4 for should be squared. Returns 0 otherwise. This function is inspired by Peculiar Theater's josm-scripts.