|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.CoordinateSystem
visad.jmet.AlbersCoordinateSystem
public class AlbersCoordinateSystem
| Constructor Summary | |
|---|---|
AlbersCoordinateSystem(double la0,
double lo0,
double p1,
double p2,
double false_easting,
double false_northing)
Albers Equal Area projection |
|
| Method Summary | |
|---|---|
boolean |
equals(Object cs)
determine if the Coordinate System in question is an AlbersCoordinateSystem |
double[][] |
fromReference(double[][] tuples)
convert from lat,lon to x,y |
static void |
main(String[] args)
|
double[][] |
toReference(double[][] tuples)
convert from x,y to lat,lon |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlbersCoordinateSystem(double la0,
double lo0,
double p1,
double p2,
double false_easting,
double false_northing)
throws VisADException
la0 - is the latitude of the origin (deg)lo0 - is the longitude of the origin (deg)p1 - is latitude of the first parallel (deg)p2 - is latitude of the second parallel (deg)false_easting - is the value added to the x map coordinate
so that x is returned positive (m) -- may be zero...false_northing - is the value added to the y map coordinate
so that y is returned positive (m) -- may be zero...
equations taken
from 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 static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||