public class AlbersCoordinateSystem extends CoordinateSystem
| Constructor and Description |
|---|
AlbersCoordinateSystem(double la0,
double lo0,
double p1,
double p2,
double false_easting,
double false_northing)
Albers Equal Area projection
|
| Modifier and Type | Method and Description |
|---|---|
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
|
canConvert, fromReference, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnitspublic 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 VisADExceptionpublic 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 static void main(String[] args)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.