|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvisad.CoordinateSystem
visad.InverseCoordinateSystem
public class InverseCoordinateSystem
InverseCoordinateSystem is the VisAD CoordinateSystem class for inverting other CoordinateSystems.
| Constructor Summary | |
|---|---|
InverseCoordinateSystem(RealTupleType reference,
CoordinateSystem inv)
construct a CoordinateSystem that whose transforms invert the transforms of inverse (i.e., toReference and fromReference are switched); for example, this could be used to define Cartesian coordinates releative to a refernce in spherical coordinates |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object cs)
check for equality of CoordinateSystem objects; must test for cs == null |
double[][] |
fromReference(double[][] tuples)
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 |
float[][] |
fromReference(float[][] tuples)
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 for efficiency, subclasses should override this implementation |
double[][] |
toReference(double[][] tuples)
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 |
float[][] |
toReference(float[][] tuples)
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; for efficiency, subclasses should override this implementation |
| 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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InverseCoordinateSystem(RealTupleType reference,
CoordinateSystem inv)
throws VisADException
VisADException| Method Detail |
|---|
public double[][] toReference(double[][] tuples)
throws VisADException
CoordinateSystem
toReference in class CoordinateSystemVisADException
public double[][] fromReference(double[][] tuples)
throws VisADException
CoordinateSystem
fromReference in class CoordinateSystemVisADException
public float[][] toReference(float[][] tuples)
throws VisADException
CoordinateSystem
toReference in class CoordinateSystemVisADException
public float[][] fromReference(float[][] tuples)
throws VisADException
CoordinateSystem
fromReference in class CoordinateSystemVisADExceptionpublic boolean equals(java.lang.Object cs)
CoordinateSystem
equals in class CoordinateSystem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||