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

Class TupleDesc_B

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      int[] data 
      int numBits 
    • Constructor Summary

      Constructors 
      Constructor and Description
      TupleDesc_B(int numBits) 
      TupleDesc_B(int numBits, int numInts) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      TupleDesc_B copy()
      Creates a copy of this description
      double getDouble(int index)
      Returns the value of a tuple's element as a double.
      boolean isBitTrue(int bit) 
      void setTo(TupleDesc_B source)
      Sets this tuple to be the same as the provided tuple
      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

      • data

        public int[] data
      • numBits

        public int numBits
    • Constructor Detail

      • TupleDesc_B

        public TupleDesc_B(int numBits)
      • TupleDesc_B

        public TupleDesc_B(int numBits,
                           int numInts)
    • Method Detail

      • isBitTrue

        public boolean isBitTrue(int bit)
      • setTo

        public void setTo(TupleDesc_B source)
        Description copied from interface: TupleDesc
        Sets this tuple to be the same as the provided tuple
        Specified by:
        setTo in interface TupleDesc<TupleDesc_B>
        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_B>
        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_B>
        Returns:
        Number of elements in the tuple

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.