Changeset 19272 in josm for trunk/src/org
- Timestamp:
- 2024-12-19T22:13:29+01:00 (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Geometry.java
r18990 r19272 705 705 inter.intersect(a2); 706 706 707 // Note: Area has an equals method that takes Area; it does _not_ override the Object.equals method. 707 708 if (inter.isEmpty() || !checkIntersection(inter, eps)) { 708 709 return new Pair<>(PolygonIntersection.OUTSIDE, inter); … … 1196 1197 for (PolyData outer : mp.getOuterPolygons()) { 1197 1198 if (!outer.isClosed() 1199 || !polygonArea.getBounds2D().contains(outer.getBounds()) 1198 1200 || PolygonIntersection.FIRST_INSIDE_SECOND != polygonIntersection(getArea(outer.getNodes()), 1199 1201 polygonArea)) {
Note:
See TracChangeset
for help on using the changeset viewer.