- Timestamp:
- 2019-01-03T13:47:12+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ShapeClipper.java
r14615 r14627 47 47 if (num > 0 && (type == PathIterator.SEG_CLOSE || type == PathIterator.SEG_MOVETO || pit.isDone())) { 48 48 // we have extracted a single segment, maybe unclosed 49 hasData |= addToResult(result, points, num,49 boolean hasPath = addToResult(result, points, num, 50 50 new Rectangle2D.Double(minX, minY, maxX - minX, maxY - minY), clippingRect); 51 hasData |= hasPath; 52 if (hasPath && type == PathIterator.SEG_CLOSE) { 53 result.closePath(); 54 } 51 55 num = 0; 52 56 minX = minY = Double.POSITIVE_INFINITY;
Note:
See TracChangeset
for help on using the changeset viewer.