public class TrivialNavigation extends NavigatedCoordinateSystem
Constructor and Description |
---|
TrivialNavigation(RealTupleType reference)
Create a NavigationCoordinateSystem that just returns
the input tuple.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object cs)
See if the object in question is equal to this CoordinateSystem.
|
double[][] |
fromReference(double[][] refTuple)
Transform from the reference coordinates
|
double[][] |
toReference(double[][] tuple)
Transform to the reference coordinates
|
getLatitudeIndex, getLongitudeIndex
canConvert, fromReference, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
public TrivialNavigation(RealTupleType reference) throws VisADException
reference
- reference RealTupleTypeVisADException
- reference does not contain Latitude/Longitude
or couldn't create the necessary VisAD objectpublic double[][] toReference(double[][] tuple) throws VisADException
toReference
in class CoordinateSystem
tuple
- array of valuesVisADException
- tuple is null or wrong dimensionpublic double[][] fromReference(double[][] refTuple) throws VisADException
fromReference
in class CoordinateSystem
refTuple
- array of valuesVisADException
- tuple is null or wrong dimensionpublic boolean equals(Object cs)
equals
in class CoordinateSystem
cs
- Object in questionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.