|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.MapBrowser.rover.RoverTiling
public class RoverTiling
Describes a tiling of rover images.
| Constructor Summary | |
|---|---|
RoverTiling()
|
|
| Method Summary | |
|---|---|
DoubleRectangle |
expandToMatchTiling(DoubleRectangle original)
This is the same as groundCoveredBy(tilesCovering(groundRect)). |
DoubleRectangle |
getExtents()
|
boolean |
getGraphicsOnly()
|
double |
getLineGranularity()
The minimum length of lines in this tiling. |
double |
getOriginX()
|
double |
getOriginY()
|
boolean |
getRetainShortLines()
|
double |
getTileHeight()
|
double |
getTileSize()
|
double |
getTileWidth()
|
boolean |
getUseSpecifiedGranularity()
|
DoubleRectangle |
groundCoveredBy(IntegerRectangle tiles)
Returns the DoubleRectangle of ground coordinates matching the given IntegerRectangle of tiles. |
DoubleRectangle |
groundCoveredBy(int x,
int y)
Returns the DoubleRectangle of ground coordinates for the given tile. |
boolean |
hasExtents()
|
Coord2D |
originOf(Coord2D tile)
Returns the origin in ground coordinates of the given image tile. |
Coord2D |
originOf(int x,
int y)
Returns the origin in ground coordinates of the given image tile. |
long |
packedTileCovering(Coord2D coord)
Returns the x,y location of the tile containing the given ground coordinate as a PackedSheetCoord long. |
long |
packedTileCovering(double x,
double y)
Returns the x,y location of the tile containing the given ground coordinate as a PackedSheetCoord long. |
void |
setExtents(DoubleRectangle newExtents)
|
void |
setGraphicsOnly(boolean tizit)
|
void |
setLineGranularity(double newGranularity)
|
void |
setOriginX(double newOriginX)
|
void |
setOriginY(double newOriginY)
|
void |
setRetainShortLines(boolean tizit)
|
void |
setTileHeight(double newTileHeight)
|
void |
setTileSize(double newTileSize)
|
void |
setTileWidth(double newTileWidth)
|
void |
setUseSpecifiedGranularity(boolean tizit)
|
Coord2D |
tileCovering(Coord2D coord)
Returns the x,y location of the tile containing the given ground coordinate. |
IntegerRectangle |
tilesCovering(DoubleRectangle groundRect)
Returns the smallest IntegerRectangle of tiles containing the given DoubleRectangle of ground coordinates. |
double |
tileToX(int column)
Returns the x coordinate of the left edge of the given tile column. |
double |
tileToY(int row)
Returns the y coordinate of the bottom edge of the given tile row. |
java.lang.String |
toString()
|
int |
xToTile(double x)
Returns the X coordinate of the tile column with the given ground coordinate. |
int |
yToTile(double y)
Returns the Y coordinate of the tile row with the given ground coordinate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RoverTiling()
| Method Detail |
|---|
public int xToTile(double x)
public int yToTile(double y)
public double tileToX(int column)
public double tileToY(int row)
public Coord2D tileCovering(Coord2D coord)
public long packedTileCovering(Coord2D coord)
public long packedTileCovering(double x,
double y)
public Coord2D originOf(Coord2D tile)
public Coord2D originOf(int x,
int y)
public IntegerRectangle tilesCovering(DoubleRectangle groundRect)
public DoubleRectangle groundCoveredBy(IntegerRectangle tiles)
public DoubleRectangle groundCoveredBy(int x,
int y)
public DoubleRectangle expandToMatchTiling(DoubleRectangle original)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean hasExtents()
public double getOriginX()
public void setOriginX(double newOriginX)
public double getOriginY()
public void setOriginY(double newOriginY)
public double getTileWidth()
public void setTileWidth(double newTileWidth)
public double getTileHeight()
public void setTileHeight(double newTileHeight)
public void setTileSize(double newTileSize)
public double getTileSize()
public double getLineGranularity()
public void setLineGranularity(double newGranularity)
public DoubleRectangle getExtents()
public void setExtents(DoubleRectangle newExtents)
public boolean getGraphicsOnly()
public void setGraphicsOnly(boolean tizit)
public boolean getUseSpecifiedGranularity()
public void setUseSpecifiedGranularity(boolean tizit)
public boolean getRetainShortLines()
public void setRetainShortLines(boolean tizit)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||