Changeset 29854 in osm for applications/editors/josm/plugins/reltoolbox/src
- Timestamp:
- 2013-08-21T03:47:16+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/SplittingMultipolygons.java
r26952 r29854 2 2 3 3 import java.awt.geom.Area; 4 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 5 7 import java.util.*; 8 6 9 import org.openstreetmap.josm.Main; 7 10 import org.openstreetmap.josm.command.*; 8 11 import org.openstreetmap.josm.data.coor.EastNorth; 12 import org.openstreetmap.josm.data.coor.LatLon; 9 13 import org.openstreetmap.josm.data.osm.*; 10 14 import org.openstreetmap.josm.gui.DefaultNameFormatter; … … 27 31 return false; 28 32 for( Node n : way.getNodes() ) { 29 if( n.isIncomplete() || (a != null && !a.contains(n.getCoor())) ) 30 return false; 33 LatLon ll = n.getCoor(); 34 if( n.isIncomplete() || (a != null && !a.contains(ll.getX(), ll.getY())) ) 35 return false; 31 36 } 32 37 if( way.isClosed() )
Note:
See TracChangeset
for help on using the changeset viewer.