|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.CoordinateSystem visad.IdentityCoordinateSystem
public class IdentityCoordinateSystem
A CoordinateSystem that will
return the input values when toReference()
and
fromReference()
are called. Useful in constructing
CartesianProductCoordinateSystem
s.
CartesianProductCoordinateSystem
,
Serialized FormConstructor Summary | |
---|---|
IdentityCoordinateSystem(RealTupleType type)
Construct a new IdentityCoordinateSystem for
values of the type specified. |
|
IdentityCoordinateSystem(RealTupleType type,
Unit[] units)
Construct a new IdentityCoordinateSystem for
values of the type specified. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Check to see if the object in question is equal to this. |
double[][] |
fromReference(double[][] values)
Simple implementation of abstract method. |
float[][] |
fromReference(float[][] values)
Simple implementation of abstract method. |
double[][] |
toReference(double[][] values)
Simple implementation of abstract method. |
float[][] |
toReference(float[][] values)
Simple implementation of abstract method. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdentityCoordinateSystem(RealTupleType type) throws VisADException
IdentityCoordinateSystem
for
values of the type specified.
type
- type of the values
VisADException
public IdentityCoordinateSystem(RealTupleType type, Unit[] units) throws VisADException
IdentityCoordinateSystem
for
values of the type specified.
type
- type of the values
VisADException
Method Detail |
---|
public double[][] fromReference(double[][] values) throws VisADException
fromReference
in class CoordinateSystem
values
- input values
VisADException
- values are null or wrong dimensionpublic double[][] toReference(double[][] values) throws VisADException
toReference
in class CoordinateSystem
values
- input values
VisADException
- values are null or wrong dimensionpublic float[][] fromReference(float[][] values) throws VisADException
fromReference
in class CoordinateSystem
values
- input values
VisADException
- values are null or wrong dimensionpublic float[][] toReference(float[][] values) throws VisADException
toReference
in class CoordinateSystem
values
- input values
VisADException
- values are null or wrong dimensionpublic boolean equals(Object o)
equals
in class CoordinateSystem
o
- object in question
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |