|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--auc.field.Grid
The grid class represents points in the field. The Grid uses mathematical properties of the mathematical infinite auc.geom.Grid2D, but is bounded by the given field.
| Field Summary | |
protected java.lang.Long[][] |
appRate
The aplication rate in every grid cell, database data. |
protected long |
cellLatLength
The cell latitude length, database data. |
protected long |
cellLatX
The cell latitude length along x-axis. |
protected long |
cellLatY
The cell latitude length along y-axis. |
protected long |
cellLongLength
The cell longitude length, database data. |
protected long |
cellLongX
The cell longitude length along x-axis. |
protected long |
cellLongY
The cell longitude length along x-axis. |
protected java.lang.String |
cellUnit
The cell size measure units (meters or degrees), database data. |
protected Field |
fieldReference
The reference to the field. |
protected Grid2D |
grid2D
The reference to the mathematical infinite grid. |
protected long |
inclination
The inclination level, database data. |
protected long |
inclLatitude
The latitude inclination level, database data. |
protected long |
inclLongtitude
The longitude inclination level, database data. |
protected java.lang.String |
minLatitude
The minimum latitute (in degrees), GPS data. |
protected java.lang.String |
minLongitude
The minimum longitude (in degrees), GPS data. |
protected long |
numberOfCols
The number of columns in the grid. |
protected long |
numberOfRows
The number of rows in the grid. |
| Constructor Summary | |
protected |
Grid(Field field)
|
|
Grid(Field field,
java.io.Reader r)
Constructs a grid for given field with parameters in the given stream. |
| Method Summary | |
java.lang.Long[][] |
getAppRate()
|
Vector2D[][] |
getArray()
|
long |
getCellLatLength()
|
long |
getCellLongLength()
|
java.lang.String |
getCellUnit()
|
Grid2D |
getGrid2D()
|
long |
getInclination()
|
long |
getInclLatitude()
|
long |
getInclLongtitude()
|
java.lang.String |
getMinLatitude()
|
java.lang.String |
getMinLongitude()
|
long |
getNumberOfCols()
|
long |
getNumberOfRows()
|
java.util.Vector |
getPoints()
|
void |
readData(java.io.Reader reader)
|
void |
setCellLatLength(long celllatlength)
|
void |
setCellLongLength(long celllonglength)
|
void |
setCellUnit(java.lang.String cellunit)
|
void |
setGrid2D(Grid2D grid)
|
void |
setInclination(long inclination)
|
void |
setInclLatitude(long incllatitude)
|
void |
setInclLongtitude(long incllongtitude)
|
void |
setMinLatitude(java.lang.String minlatitude)
|
void |
setMinLongitude(java.lang.String minlongitude)
|
void |
setNumberOfCols(long numberofcols)
|
void |
setNumberOfRows(long numberofrows)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String minLatitude
protected java.lang.String minLongitude
protected long numberOfRows
protected long numberOfCols
protected long cellLatLength
protected long cellLongLength
protected java.lang.String cellUnit
protected long inclination
protected long inclLatitude
protected long inclLongtitude
protected java.lang.Long[][] appRate
protected long cellLatX
protected long cellLatY
protected long cellLongX
protected long cellLongY
protected Grid2D grid2D
protected Field fieldReference
| Constructor Detail |
public Grid(Field field,
java.io.Reader r)
field - the field where the grid belongs to.r - the reader stream, usualy constructed from a file, the format is specified in FieldStar Open Office database documentation.protected Grid(Field field)
| Method Detail |
public Grid2D getGrid2D()
public void setGrid2D(Grid2D grid)
public Vector2D[][] getArray()
public java.util.Vector getPoints()
public void readData(java.io.Reader reader)
public void setMinLatitude(java.lang.String minlatitude)
public void setMinLongitude(java.lang.String minlongitude)
public void setNumberOfRows(long numberofrows)
public void setNumberOfCols(long numberofcols)
public void setCellLatLength(long celllatlength)
public void setCellLongLength(long celllonglength)
public void setCellUnit(java.lang.String cellunit)
public void setInclination(long inclination)
public void setInclLatitude(long incllatitude)
public void setInclLongtitude(long incllongtitude)
public java.lang.String getMinLatitude()
public long getNumberOfRows()
public long getCellLatLength()
public java.lang.String getCellUnit()
public long getInclLatitude()
public java.lang.String getMinLongitude()
public long getCellLongLength()
public long getInclLongtitude()
public long getNumberOfCols()
public long getInclination()
public java.lang.Long[][] getAppRate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||