|
|||||||||
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
public abstract class MapProjection
Abstract class for coordinate systems that support (lat,lon) <-> (x,y) with a reference coordinate system of (lat, lon) or (lon, lat).
Constructor Summary | |
---|---|
MapProjection(RealTupleType reference,
Unit[] units)
Constructs from the type of the reference coordinate system and units for values in this coordinate system. |
Method Summary | |
---|---|
abstract java.awt.geom.Rectangle2D |
getDefaultMapArea()
Get a reasonable bounding box in this coordinate system. |
boolean |
isLatLonOrder()
Determine if the fromReference and toReference expect the to get the output and input values to be row/col ordered or |
boolean |
isXYOrder()
Determine if the input to the toReference and output from the fromReference is (x,y) or (y,x). |
java.lang.String |
toString()
Print out a string representation of this MapProjection |
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 MapProjection(RealTupleType reference, Unit[] units) throws VisADException
reference
- The type of the reference coordinate system. The
reference must contain RealType.Latitude and
RealType.Longitude. Values in the reference
coordinate system shall be in units of
reference.getDefaultUnits() unless specified
otherwise.units
- The default units for this coordinate system.
Numeric values in this coordinate system shall be
in units of units unless specified otherwise.
May be null or an array of null-s.
VisADException
- Couldn't create necessary VisAD object or
reference does not contain RealType.Latitude
and/or RealType.Longitude or the reference
dimension is greater than 2.Method Detail |
---|
public abstract java.awt.geom.Rectangle2D getDefaultMapArea()
public boolean isXYOrder()
public boolean isLatLonOrder()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |