public class EASECoordinateSystem extends MapProjection
| Constructor and Description |
|---|
EASECoordinateSystem(double spacing,
double row_origin,
double column_origin,
int number_rows,
int number_columns)
ctor
|
| Modifier and Type | Method and Description |
|---|---|
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
|
getCenterLatLon, getLatLon, getXIndex, getYIndex, isLatLonOrder, isXYOrder, toStringgetLatitudeIndex, getLongitudeIndexcanConvert, fromReference, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnitspublic 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 columnsVisADExceptionpublic 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 coordinatesVisADException - 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)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.