org.openstreetmap.osmosis.core.customdb.v0_6.impl
Class BoundingBoxContext

java.lang.Object
  extended by org.openstreetmap.osmosis.core.customdb.v0_6.impl.BoundingBoxContext

public class BoundingBoxContext
extends java.lang.Object

Contains the data associated with a bounding box iteration call on a dataset.

Author:
Brett Henderson

Field Summary
 java.awt.geom.Rectangle2D boundingBox
          The coordinates of the box represented as an AWT box for use in AWT API calls.
 IdTracker externalNodeIdTracker
          All nodes outside the bounding box are stored within this tracker.
 int maximumTile
          The maximum tile value for the box.
 int minimumTile
          The minimum tile value for the box.
 IdTracker nodeIdTracker
          All node ids are stored within this tracker.
 IdTracker relationIdTracker
          All relation ids are stored within this tracker.
 IdTracker wayIdTracker
          All way ids are stored within this tracker.
 
Constructor Summary
BoundingBoxContext(double left, double right, double top, double bottom)
          Creates a new instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

boundingBox

public final java.awt.geom.Rectangle2D boundingBox
The coordinates of the box represented as an AWT box for use in AWT API calls.


maximumTile

public final int maximumTile
The maximum tile value for the box.


minimumTile

public final int minimumTile
The minimum tile value for the box.


nodeIdTracker

public final IdTracker nodeIdTracker
All node ids are stored within this tracker.


wayIdTracker

public final IdTracker wayIdTracker
All way ids are stored within this tracker.


relationIdTracker

public final IdTracker relationIdTracker
All relation ids are stored within this tracker.


externalNodeIdTracker

public final IdTracker externalNodeIdTracker
All nodes outside the bounding box are stored within this tracker.

Constructor Detail

BoundingBoxContext

public BoundingBoxContext(double left,
                          double right,
                          double top,
                          double bottom)
Creates a new instance. This initialises all internal variables so that no public variables require initialisation by external code.

Parameters:
left - The longitude marking the left edge of the bounding box.
right - The longitude marking the right edge of the bounding box.
top - The latitude marking the top edge of the bounding box.
bottom - The latitude marking the bottom edge of the bounding box.