Ignore:
Timestamp:
2013-08-21T03:47:16+02:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] fix #8987 - bump min JOSM version of nearly all plugins to r6162 + code update/cleanup, fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/ConnectWays.java

    r23191 r29854  
    124124            throws IllegalStateException, IndexOutOfBoundsException {
    125125
    126         List<Command> cmds = new LinkedList<Command>();
    127 
    128126        LatLon ll = node.getCoor();
    129127        BBox bbox = new BBox(
     
    191189            System.out.println(way.getNodes().get(i) + "-----" + way.getNodes().get((i + 1) % way.getNodesCount()));
    192190            double minDistanceSq = MIN_DISTANCE_SQ;
    193             double maxAngle = MAX_ANGLE;
     191            //double maxAngle = MAX_ANGLE;
    194192            List<Node> nodes = Main.main.getCurrentDataSet().searchNodes(new BBox(
    195193                Math.min(n1.getX(), n2.getX()) - minDistanceSq,
     
    208206                System.out.println("Angle: " + angle + " distance: " + dist + " Node: " + nod);
    209207                if (!n1.equalsEpsilon(nn) && !n2.equalsEpsilon(nn) && dist < minDistanceSq){ // && Math.abs(angle) < maxAngle) {
    210                     maxAngle = angle;
     208                    //maxAngle = angle;
    211209                    nearestNode = nod;
    212210                }
Note: See TracChangeset for help on using the changeset viewer.