|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.CoordinateSystem visad.georef.NavigatedCoordinateSystem visad.georef.MapProjection visad.data.vis5d.Vis5DCoordinateSystem
public class Vis5DCoordinateSystem
Vis5DCoordinateSystem is the VisAD class for coordinate systems for ( row, col ).
Constructor Summary | |
---|---|
Vis5DCoordinateSystem(int Projection,
double[] projargs,
double Nr,
double Nc)
|
Method Summary | |
---|---|
boolean |
equals(Object cs)
Indicates whether or not this instance is equal to an object (note must test for cs == null). |
double[][] |
fromReference(double[][] latlon)
Convert RealTuple values from Reference coordinates; for efficiency, input and output values are passed as double[][] arrays rather than RealTuple[] arrays; the array organization is double[tuple_dimension][number_of_tuples]; can modify and return argument array. |
double |
getColumns()
Get the number of Columns |
Rectangle2D |
getDefaultMapArea()
Get the bounds for this image |
int |
getProjection()
Get the Projection type |
double[] |
getProjectionParams()
Get the projection args |
double |
getRows()
Get the number of Rows |
boolean |
isXYOrder()
Override from super class since toRef and fromRef use rowcol (yx) order instead of colrow (xy) order. |
static void |
main(String[] args)
|
double[][] |
toReference(double[][] rowcol)
Convert RealTuple values to Reference coordinates; for efficiency, input and output values are passed as double[][] arrays rather than RealTuple[] arrays; the array organization is double[tuple_dimension][number_of_tuples]; can modify and return argument array. |
Methods inherited from class visad.georef.MapProjection |
---|
getCenterLatLon, getLatLon, getXIndex, getYIndex, isLatLonOrder, toString |
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 Vis5DCoordinateSystem(int Projection, double[] projargs, double Nr, double Nc) throws VisADException
VisADException
Method Detail |
---|
public Rectangle2D getDefaultMapArea()
getDefaultMapArea
in class MapProjection
public int getProjection()
public double getRows()
public double getColumns()
public double[] getProjectionParams()
public boolean isXYOrder()
isXYOrder
in class MapProjection
public double[][] toReference(double[][] rowcol) throws VisADException
CoordinateSystem
toReference
in class CoordinateSystem
rowcol
- array of values assumed to be in coordinateSystem
units. Input array is not guaranteed to be immutable
and could be used for return.
VisADException
- if problem with conversion.public double[][] fromReference(double[][] latlon) throws VisADException
CoordinateSystem
fromReference
in class CoordinateSystem
latlon
- array of values assumed to be in reference
Units. Input array is not guaranteed to be immutable
and could be used for return.
VisADException
- if problem with conversion.public boolean equals(Object cs)
CoordinateSystem
equals
in class CoordinateSystem
cs
- the object in question.
true
if and only if this instance equals cs.public static void main(String[] args) throws VisADException
VisADException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |