public class TileRegionRow
extends java.lang.Object
implements java.io.Serializable
Tile region range.
| Modifier and Type | Field and Description |
|---|---|
java.util.List<TileRegionRowItem> |
items |
int |
rowIndex
Row index
|
| Constructor and Description |
|---|
TileRegionRow()
The Constructor.
|
TileRegionRow(int rowIndex, java.util.List<TileRegionRowItem> items)
The Constructor.
|
TileRegionRow(int rowIndex, TileRegionRowItem... items)
The Constructor.
|
TileRegionRow(TileRegionRow row)
The Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
com.vividsolutions.jts.geom.Geometry |
toJTSGeometry(double width, double height, Point2D leftTop)
Converts to polygon.
|
TileRegionRow |
unionTo(TileRegionRow anotherRow)
Merges another row.
|
public int rowIndex
Row index
public java.util.List<TileRegionRowItem> items
public TileRegionRow()
The Constructor.
public TileRegionRow(TileRegionRow row)
The Constructor.
row -
public TileRegionRow(int rowIndex,
java.util.List<TileRegionRowItem> items)
The Constructor.
rowIndex -items -
public TileRegionRow(int rowIndex,
TileRegionRowItem... items)
The Constructor.
rowIndex -items -
public com.vividsolutions.jts.geom.Geometry toJTSGeometry(double width,
double height,
Point2D leftTop)
Converts to polygon.
width - Tile widthheight - Tile heightleftTop - Starting pointpublic TileRegionRow unionTo(TileRegionRow anotherRow)
Merges another row. Note that this method does not synchronize and does not support multi-threaded calls.
anotherRow -public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object