|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.CoordinateSystem
visad.georef.NavigatedCoordinateSystem
visad.georef.MapProjection
visad.jmet.EASECoordinateSystem
public class EASECoordinateSystem
| Constructor Summary | |
|---|---|
EASECoordinateSystem(double spacing,
double row_origin,
double column_origin,
int number_rows,
int number_columns)
ctor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object cs)
determine if the Coordinate System in question is an EASECoordinateSystem |
double[][] |
fromReference(double[][] tuples)
convert from lat,lon to x,y |
double |
getAspectRatio()
return the ratio of the grid spacing between rows and columns |
Rectangle2D |
getDefaultMapArea()
return the bounding box for this projection |
static void |
main(String[] args)
|
double[][] |
toReference(double[][] tuples)
convert from x,y to lat,lon |
| Methods inherited from class visad.georef.MapProjection |
|---|
getCenterLatLon, getLatLon, getXIndex, getYIndex, isLatLonOrder, isXYOrder, toString |
| Methods inherited from class visad.georef.NavigatedCoordinateSystem |
|---|
getLatitudeIndex, getLongitudeIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EASECoordinateSystem(double spacing,
double row_origin,
double column_origin,
int number_rows,
int number_columns)
throws VisADException
spacing - is the spacing in km between grid pointsrow_origin - is the row origincolumn_origin - is the column originnumber_rows - is the number of rowsnumber_columns - is the number of columns
VisADException| Method Detail |
|---|
public double[][] toReference(double[][] tuples)
throws VisADException
toReference in class CoordinateSystemtuples - contains the x,y coordinates (grid col, row)
VisADException - if problem with conversion.
public double[][] fromReference(double[][] tuples)
throws VisADException
fromReference in class CoordinateSystemtuples - contains the lat,lon coordinates
VisADException - if problem with conversion.public boolean equals(Object cs)
equals in class CoordinateSystemcs - the object in question.
true if and only if this instance equals cs.public Rectangle2D getDefaultMapArea()
getDefaultMapArea in class MapProjectionpublic double getAspectRatio()
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||