public class Vis5DCoordinateSystem extends MapProjection
Constructor and Description |
---|
Vis5DCoordinateSystem(int Projection,
double[] projargs,
double Nr,
double Nc) |
Modifier and Type | Method and Description |
---|---|
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.
|
getCenterLatLon, getLatLon, getXIndex, getYIndex, isLatLonOrder, toString
getLatitudeIndex, getLongitudeIndex
canConvert, fromReference, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
public Vis5DCoordinateSystem(int Projection, double[] projargs, double Nr, double Nc) throws VisADException
VisADException
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
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.