|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.CoordinateSystem visad.CMYCoordinateSystem
public class CMYCoordinateSystem
CMYCoordinateSystem is the VisAD CoordinateSystem class for (Cyan, Magenta, Yellow) with Reference (Red, Green, Blue). Algorithm from Foley and van Dam.
Constructor Summary | |
---|---|
CMYCoordinateSystem(RealTupleType reference)
construct a CMYCoordinateSystem with given reference |
Method Summary | |
---|---|
boolean |
equals(Object cs)
Indicates whether or not this instance is equal to an object. |
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 float[][] arrays rather than RealTuple[] arrays; the array organization is float[tuple_dimension][number_of_tuples]; can modify and return argument array. |
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 float[][] arrays rather than RealTuple[] arrays; the array organization is float[tuple_dimension][number_of_tuples]; can modify and return argument array. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMYCoordinateSystem(RealTupleType reference) throws VisADException
reference
- - reference RealTupleType
VisADException
Method Detail |
---|
public double[][] toReference(double[][] tuples) throws VisADException
toReference
in class CoordinateSystem
tuples
- 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[][] tuples) throws VisADException
fromReference
in class CoordinateSystem
tuples
- array of values assumed to be in reference
Unit-s. Input array is not guaranteed to be immutable
and could be used for return.
VisADException
- if problem with conversion.public float[][] toReference(float[][] tuples) throws VisADException
toReference
in class CoordinateSystem
tuples
- 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 float[][] fromReference(float[][] tuples) throws VisADException
fromReference
in class CoordinateSystem
tuples
- array of values assumed to be in reference
Unit-s. Input array is not guaranteed to be immutable
and could be used for return.
VisADException
- if problem with conversion.public boolean equals(Object cs)
equals
in class CoordinateSystem
cs
- - the object in question.
true
if and only if this instance equals cs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |