Documentation of 'visad.IdentityCoordinateSystem' Java class
IdentityCoordinateSystem
visad

Class IdentityCoordinateSystem

  • All Implemented Interfaces:
    java.io.Serializable


    public class IdentityCoordinateSystem
    extends CoordinateSystem
    A CoordinateSystem that will return the input values when toReference() and fromReference() are called. Useful in constructing CartesianProductCoordinateSystems.
    See Also:
    CartesianProductCoordinateSystem, Serialized Form
    • Constructor Detail

      • IdentityCoordinateSystem

        public IdentityCoordinateSystem(RealTupleType type)
                                 throws VisADException
        Construct a new IdentityCoordinateSystem for values of the type specified.
        Parameters:
        type - type of the values
        Throws:
        VisADException
      • IdentityCoordinateSystem

        public IdentityCoordinateSystem(RealTupleType type,
                                        Unit[] units)
                                 throws VisADException
        Construct a new IdentityCoordinateSystem for values of the type specified.
        Parameters:
        type - type of the values
        Throws:
        VisADException
    • Method Detail

      • fromReference

        public double[][] fromReference(double[][] values)
                                 throws VisADException
        Simple implementation of abstract method. Returns the input values.
        Specified by:
        fromReference in class CoordinateSystem
        Parameters:
        values - input values
        Returns:
        values
        Throws:
        VisADException - values are null or wrong dimension
      • toReference

        public double[][] toReference(double[][] values)
                               throws VisADException
        Simple implementation of abstract method. Returns the input values.
        Specified by:
        toReference in class CoordinateSystem
        Parameters:
        values - input values
        Returns:
        values
        Throws:
        VisADException - values are null or wrong dimension
      • fromReference

        public float[][] fromReference(float[][] values)
                                throws VisADException
        Simple implementation of abstract method. Returns the input values.
        Overrides:
        fromReference in class CoordinateSystem
        Parameters:
        values - input values
        Returns:
        values
        Throws:
        VisADException - values are null or wrong dimension
      • toReference

        public float[][] toReference(float[][] values)
                              throws VisADException
        Simple implementation of abstract method. Returns the input values.
        Overrides:
        toReference in class CoordinateSystem
        Parameters:
        values - input values
        Returns:
        values
        Throws:
        VisADException - values are null or wrong dimension
      • equals

        public boolean equals(java.lang.Object o)
        Check to see if the object in question is equal to this.
        Specified by:
        equals in class CoordinateSystem
        Parameters:
        o - object in question
        Returns:
        true if they are equal, otherwise false.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.