Class PackedBigArrayPoint4D_F32

java.lang.Object
georegression.struct.packed.PackedBigArray_F32<Point4D_F32>
georegression.struct.packed.PackedBigArrayPoint4D_F32
All Implemented Interfaces:
PackedArray<Point4D_F32>, LArrayAccessor<Point4D_F32>

@Generated("georegression.struct.packed.PackedBigArrayPoint4D_F64") public class PackedBigArrayPoint4D_F32 extends PackedBigArray_F32<Point4D_F32>
Packed array of Point4D_F32. Internally the point is stored in an interleaved format.
  • Constructor Details

    • PackedBigArrayPoint4D_F32

      public PackedBigArrayPoint4D_F32()
      Constructor where the default is used for all parameters.
    • PackedBigArrayPoint4D_F32

      public PackedBigArrayPoint4D_F32(int reservedPoints)
      Constructor where the initial number of points is specified and everything else is default
    • PackedBigArrayPoint4D_F32

      public PackedBigArrayPoint4D_F32(int reservedPoints, int blockSize, BigDogGrowth growth)
      Constructor which allows access to all array parameters
      Parameters:
      reservedPoints - Reserve space to store this number of points initially
      blockSize - A single block will be able to store this number of points
      growth - Growth strategy to use
  • Method Details

    • setTo

      Makes this array have a value identical to 'src'
      Parameters:
      src - original array being copies
      Returns:
      Reference to 'this'
    • append

      public void append(float x, float y, float z, float w)
    • set

      public void set(int index, float x, float y, float z, float w)
    • append

      public void append(Point4D_F32 element)
      Description copied from interface: PackedArray
      Appends a copy to the end of the array
      Parameters:
      element - (Input) The element which is copied then added
    • set

      public void set(int index, Point4D_F32 element)
      Description copied from interface: PackedArray
      Sets an element's value
    • getTemp

      public Point4D_F32 getTemp(int index)
    • getCopy

      public void getCopy(int index, Point4D_F32 dst)
    • copy

      public void copy(Point4D_F32 src, Point4D_F32 dst)
    • size

      public int size()
      Specified by:
      size in interface LArrayAccessor<Point4D_F32>
      Overrides:
      size in class PackedBigArray_F32<Point4D_F32>
    • getElementType

      public Class<Point4D_F32> getElementType()
    • forIdx

      public void forIdx(int idx0, int idx1, PackedArray.ProcessIndex<Point4D_F32> op)
      Description copied from interface: PackedArray
      Passes in each object and index within the specified range. Modifications to the passed in objcet will be saved in the array.
      Parameters:
      idx0 - Initial index. Inclusive
      idx1 - Last index, Exclusive
      op - The operation to process each element