Changeset 13906 in josm
- Timestamp:
- 2018-06-10T20:48:02+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/BoundingXYVisitor.java
r13905 r13906 11 11 import org.openstreetmap.josm.data.coor.LatLon; 12 12 import org.openstreetmap.josm.data.osm.INode; 13 import org.openstreetmap.josm.data.osm.IPrimitive; 13 14 import org.openstreetmap.josm.data.osm.IRelation; 14 15 import org.openstreetmap.josm.data.osm.IRelationMember; … … 238 239 * @param primitives the collection of primitives 239 240 */ 240 public void computeBoundingBox(Collection<? extends OsmPrimitive> primitives) {241 public void computeBoundingBox(Collection<? extends IPrimitive> primitives) { 241 242 if (primitives == null) return; 242 for ( OsmPrimitive p: primitives) {243 for (IPrimitive p: primitives) { 243 244 if (p == null) { 244 245 continue; 245 246 } 246 p.accept( (PrimitiveVisitor)this);247 p.accept(this); 247 248 } 248 249 }
Note:
See TracChangeset
for help on using the changeset viewer.