|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.layer.vpf.TileDirectory
public class TileDirectory
This class maps latitudes and longitudes to a particular tile directory.
| Constructor Summary | |
|---|---|
TileDirectory()
Construct an untiled TileDirectory. |
|
TileDirectory(java.lang.String path,
int tileID,
float n,
float s,
float e,
float w)
Construct a TileDirectory with a path and boundaries. |
|
| Method Summary | |
|---|---|
java.lang.String |
getPath()
Return the path for this tile |
int |
getTileID()
Return the tile identifier for this tile |
boolean |
inRegion(float n,
float s,
float e,
float w)
Figure out if our region overlaps the passed in region |
java.lang.String |
toString()
Return a string describing ourselves |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TileDirectory(java.lang.String path,
int tileID,
float n,
float s,
float e,
float w)
path - the directory pathn - the northern boundarys - the southern boundarye - the eastern boundaryw - the western boundarytileID - our tile identifierpublic TileDirectory()
inRegion(float, float, float, float)| Method Detail |
|---|
public java.lang.String getPath()
public int getTileID()
public java.lang.String toString()
toString in class java.lang.Object
public boolean inRegion(float n,
float s,
float e,
float w)
n - the northern boundarys - the southern boundarye - the eastern boundaryw - the western boundary
true if the regions overlap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||