|
|||||||||
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.data.mcidas.AREACoordinateSystem
public class AREACoordinateSystem
AREACoordinateSystem is the VisAD CoordinateSystem class for conversions to/from (Latitude, Longitude) and Cartesian (element,line), and with Latitude and Longitude in degrees.
Constructor Summary | |
---|---|
AREACoordinateSystem(AreaFile af)
create a AREA coordinate system from the Area file's directory and navigation blocks. |
|
AREACoordinateSystem(int[] dir,
int[] nav)
create a AREA coordinate system from the Area file's directory and navigation blocks. |
|
AREACoordinateSystem(int[] dir,
int[] nav,
int[] aux)
create a AREA coordinate system from the Area file's directory and navigation blocks. |
|
AREACoordinateSystem(RealTupleType ref,
AreaFile af)
create a AREA coordinate system from the Area file's directory and navigation blocks. |
|
AREACoordinateSystem(RealTupleType reference,
int[] dir,
int[] nav)
create a AREA coordinate system from the Area file's directory and navigation blocks. |
|
AREACoordinateSystem(RealTupleType reference,
int[] dir,
int[] nav,
int[] aux)
create a AREA coordinate system from the Area file's directory and navigation blocks. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether or not the Object in question is
the same as this AREACoordinateSystem . |
double[][] |
fromReference(double[][] tuples)
convert from latitude,longitude to image element,line |
float[][] |
fromReference(float[][] tuples)
convert from latitude,longitude to image element,line |
java.awt.geom.Rectangle2D |
getDefaultMapArea()
Get the bounds for this image |
int[] |
getDirBlock()
Get the directory block used to initialize this AREACoordinateSystem |
int[] |
getNavBlock()
Get the navigation block used to initialize this AREACoordinateSystem |
double[][] |
toReference(double[][] tuples)
convert from image element,line to latitude,longitude |
float[][] |
toReference(float[][] tuples)
convert from image element,line to latitude,longitude |
Methods inherited from class visad.georef.MapProjection |
---|
isLatLonOrder, isXYOrder, toString |
Methods inherited from class visad.georef.NavigatedCoordinateSystem |
---|
getLatitudeIndex, getLongitudeIndex |
Methods inherited from class visad.CoordinateSystem |
---|
canConvert, checkTable, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AREACoordinateSystem(AreaFile af) throws VisADException, AreaFileException
df
- is the associated AreaFile
VisADException
AreaFileException
public AREACoordinateSystem(RealTupleType ref, AreaFile af) throws VisADException, AreaFileException
reference
- the CoordinateSystem reference (must be equivalent
to RealTupleType.LatitudeLongitudeTuple)df
- is the associated AreaFile
VisADException
AreaFileException
public AREACoordinateSystem(int[] dir, int[] nav) throws VisADException
dir[]
- is the AREA file directory blocknav[]
- is the AREA file navigation block
VisADException
public AREACoordinateSystem(int[] dir, int[] nav, int[] aux) throws VisADException
dir[]
- is the AREA file directory blocknav[]
- is the AREA file navigation blockaux[]
- is the AREA file auxillary block
VisADException
public AREACoordinateSystem(RealTupleType reference, int[] dir, int[] nav) throws VisADException
reference
- the CoordinateSystem reference (must be equivalent
to RealTupleType.LatitudeLongitudeTuple)dir[]
- is the AREA file directory blocknav[]
- is the AREA file navigation block
VisADException
public AREACoordinateSystem(RealTupleType reference, int[] dir, int[] nav, int[] aux) throws VisADException
reference
- the CoordinateSystem reference (must be equivalent
to RealTupleType.LatitudeLongitudeTuple)dir[]
- is the AREA file directory blocknav[]
- is the AREA file navigation blockaux[]
- is the AREA file auxillary block
VisADException
Method Detail |
---|
public int[] getDirBlock()
public int[] getNavBlock()
public double[][] toReference(double[][] tuples) throws VisADException
toReference
in class CoordinateSystem
tuples
- contains the element,line pairs to convert
VisADException
public double[][] fromReference(double[][] tuples) throws VisADException
fromReference
in class CoordinateSystem
tuples
- contains the element,line pairs to convert
VisADException
public float[][] toReference(float[][] tuples) throws VisADException
toReference
in class CoordinateSystem
tuples
- contains the element,line pairs to convert
VisADException
public float[][] fromReference(float[][] tuples) throws VisADException
fromReference
in class CoordinateSystem
tuples
- contains the element,line pairs to convert
VisADException
public java.awt.geom.Rectangle2D getDefaultMapArea()
getDefaultMapArea
in class MapProjection
public boolean equals(java.lang.Object obj)
Object
in question is
the same as this AREACoordinateSystem
. The specified
Object
is equal to this AREACoordinateSystem
if it is an instance of AREACoordinateSystem
and it has
the same navigation module and default map area as this one.
equals
in class CoordinateSystem
obj
- the Object in question
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |