protected class TransectDisplay.TransectCoordinateSystem
extends visad.CoordinateSystem
Constructor and Description |
---|
TransectCoordinateSystem(visad.Gridded2DSet line)
Create a new CS
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
See if this is equal to the object in question.
|
double[][] |
fromReference(double[][] xyz)
Transform display XYZ values to latitude/longitude/altitude
|
float[][] |
fromReference(float[][] xyz)
Transform display XYZ values to latitude/longitude/altitude
|
double[][] |
toReference(double[][] latlonalt)
Transform latitude/longitude/altitude value to XYZ
|
float[][] |
toReference(float[][] latlonalt)
Transform latitude/longitude/altitude value to XYZ
|
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
public TransectCoordinateSystem(visad.Gridded2DSet line) throws visad.VisADException
line
- line of lat/lon pointsvisad.VisADException
- problem creating the CSpublic float[][] toReference(float[][] latlonalt) throws visad.VisADException
toReference
in class visad.CoordinateSystem
latlonalt
- array of latitude, longitude, altitude valuesvisad.VisADException
- can't create the necessary VisAD objectpublic double[][] toReference(double[][] latlonalt) throws visad.VisADException
toReference
in class visad.CoordinateSystem
latlonalt
- array of latitude, longitude, altitude valuesvisad.VisADException
- can't create the necessary VisAD objectpublic double[][] fromReference(double[][] xyz) throws visad.VisADException
fromReference
in class visad.CoordinateSystem
xyz
- array of Display.DisplaySpatialCartesianTuple XYZ valuesvisad.VisADException
- can't create the necessary VisAD objectpublic float[][] fromReference(float[][] xyz) throws visad.VisADException
fromReference
in class visad.CoordinateSystem
xyz
- array of Display.DisplaySpatialCartesianTuple XYZ valuesvisad.VisADException
- can't create the necessary VisAD objectpublic boolean equals(java.lang.Object o)
equals
in class visad.CoordinateSystem
o
- object in question.