Documentation of 'visad.SetIface' Java class
SetIface
visad

Interface SetIface

    • Method Detail

      • getSetUnits

        Unit[] getSetUnits()
        Returns the units of the samples in the set.
        Returns:
        The units of the samples in the set. Element [i] is the unit of the i-th coordinate.
      • getSetErrors

        ErrorEstimate[] getSetErrors()
        Returns the error estimates of the samples in the set.
        Returns:
        The error estimates of the samples in the set. Element [i] is the error estimate of the i-th coordinate.
      • getCoordinateSystem

        CoordinateSystem getCoordinateSystem()
        Returns the coordinate system transformation of the set.
        Returns:
        The coordinate system transformation of the set.
      • getDimension

        int getDimension()
        Returns the rank of the samples in the set.
        Returns:
        The rank of the samples in the set.
      • getManifoldDimension

        int getManifoldDimension()
        Returns the rank of the manifold of the set.
        Returns:
        The rank of the manifold of the set.
      • getLength

        int getLength()
               throws VisADException
        Returns the number of samples in the set.
        Returns:
        The number of samples in the set.
        Throws:
        VisADException
      • indexToValue

        float[][] indexToValue(int[] index)
                        throws VisADException
        Returns the samples of the set corresponding to an array of 1-D indices.
        Parameters:
        index - The array of 1-D indices.
        Returns:
        The values of the set corresponding to the input indices. Element [i][j] is the i-th coordinate of the sample at index index[j].
        Throws:
        VisADException - VisAD failure.
      • valueToIndex

        int[] valueToIndex(float[][] value)
                    throws VisADException
        Returns the 1-D indices corresponding to an array of points. The set must have at least two samples.
        Parameters:
        value - An array of points. value[i][j] is the i-th coordinate of the j-th point.
        Returns:
        Indices of the nearest samples in the set. If the j-th point lies within the set, then element [i] is the index of the closest sample; otherwise, element [i] is -1.
        Throws:
        VisADException - VisAD failure.
      • getWedge

        int[] getWedge()
        Returns a zig-zagging enumeration of sample indices with good coherence.
        Returns:
        Indices of the samples of the set in a zig- zagging pattern with good coherence.
      • getSamples

        float[][] getSamples()
                      throws VisADException
        Returns an enumeration of the samples of the set in index order. This is the same as getSamples(true).
        Returns:
        An enumeration of the samples of the set. Element [i][j] is the i-th coordinate of the j-th sample.
        Throws:
        VisADException - VisAD failure.
        See Also:
        getSamples(boolean copy)
      • getSamples

        float[][] getSamples(boolean copy)
                      throws VisADException
        Returns an enumeration of the samples of the set in index order.
        Parameters:
        copy - Whether or not to make a copy of the samples of the set.
        Returns:
        An enumeration of the samples of the set. Element [i][j] is the i-th coordinate of the j-th sample.
        Throws:
        VisADException - VisAD failure.
      • getDoubles

        double[][] getDoubles()
                       throws VisADException
        Returns an enumeration of the samples of the set in index order. This is the same as getDoubles(true).
        Returns:
        An enumeration of the samples of the set. Element [i][j] is the i-th coordinate of the j-th sample.
        Throws:
        VisADException - VisAD failure.
        See Also:
        getDoubles(boolean copy)
      • getDoubles

        double[][] getDoubles(boolean copy)
                       throws VisADException
        Returns an enumeration of the samples of the set in index order.
        Parameters:
        copy - Whether or not to make a copy of the samples of the set.
        Returns:
        An enumeration of the samples of the set. Element [i][j] is the i-th coordinate of the j-th sample.
        Throws:
        VisADException - VisAD failure.
      • cram_missing

        void cram_missing(boolean[] range_select)
      • makeIsoLines

        VisADGeometryArray[][] makeIsoLines(float[] intervals,
                                            float lowlimit,
                                            float highlimit,
                                            float base,
                                            float[] fieldValues,
                                            byte[][] color_values,
                                            boolean[] swap,
                                            boolean dash,
                                            boolean fill,
                                            ScalarMap[] smap,
                                            double[] scale,
                                            double label_size,
                                            boolean sphericalDisplayCS)
                                     throws VisADException
        Throws:
        VisADException
      • equalUnitAndCS

        boolean equalUnitAndCS(Set set)
      • equals

        boolean equals(java.lang.Object set)
        Overrides:
        equals in class java.lang.Object
      • cloneButType

        java.lang.Object cloneButType(MathType type)
                               throws VisADException
        Clones this set -- changing the MathType.
        Parameters:
        type - The MathType for the clone.
        Returns:
        A clone of this set with the new MathType.
        Throws:
        VisADException - VisAD failure.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.