Documentation of 'boofcv.struct.feature.TupleDesc_F32' Java class
TupleDesc_F32
boofcv.struct.feature

Class TupleDesc_F32

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      float[] value 
    • Constructor Summary

      Constructors 
      Constructor and Description
      TupleDesc_F32(int numFeatures) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      TupleDesc_F32 copy()
      Creates a copy of this description
      double getDouble(int index)
      Returns the value of a tuple's element as a double.
      float[] getValue() 
      void set(float... value) 
      void setTo(TupleDesc_F32 source)
      Sets this tuple to be the same as the provided tuple
      void setValue(float[] value) 
      int size()
      Number of elements in the tuple.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        public float[] value
    • Constructor Detail

      • TupleDesc_F32

        public TupleDesc_F32(int numFeatures)
    • Method Detail

      • set

        public void set(float... value)
      • getValue

        public float[] getValue()
      • setValue

        public void setValue(float[] value)
      • setTo

        public void setTo(TupleDesc_F32 source)
        Description copied from interface: TupleDesc
        Sets this tuple to be the same as the provided tuple
        Specified by:
        setTo in interface TupleDesc<TupleDesc_F32>
        Parameters:
        source - The tuple which this one is to become a copy of.
      • getDouble

        public double getDouble(int index)
        Description copied from interface: TupleDesc
        Returns the value of a tuple's element as a double. In general this function should not be used because of how inefficient it is.
        Specified by:
        getDouble in interface TupleDesc<TupleDesc_F32>
        Parameters:
        index - Which element
        Returns:
        Element's value as a double
      • size

        public int size()
        Description copied from interface: TupleDesc
        Number of elements in the tuple.
        Specified by:
        size in interface TupleDesc<TupleDesc_F32>
        Returns:
        Number of elements in the tuple

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.