public class TileDirectory
extends java.lang.Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
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)
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 boundarytrue
if the regions overlapCopyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details