Changeset 8459 in josm for trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
- Timestamp:
- 2015-06-03T13:24:59+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
r8443 r8459 166 166 * 167 167 * @param w the way to simplify 168 * @param threshold the max error threshold 168 169 * @return The sequence of commands to run 169 170 * @since 6411 … … 187 188 } 188 189 // ... and simplify them 189 buildSimplifiedNodeList(w.getNodes(), lower, Math.min(w.getNodesCount()-1, i), threshold, newNodes);190 buildSimplifiedNodeList(w.getNodes(), lower, Math.min(w.getNodesCount()-1, i), threshold, newNodes); 190 191 lower=i; 191 192 i++; … … 214 215 * @param from the lower index 215 216 * @param to the upper index 216 * @param threshold 217 * @param threshold the max error threshold 217 218 */ 218 219 protected void buildSimplifiedNodeList(List<Node> wnew, int from, int to, double threshold, List<Node> simplifiedNodes) {
Note:
See TracChangeset
for help on using the changeset viewer.