Package georegression.struct.packed
Class PackedArrayPoint4D_F32
java.lang.Object
georegression.struct.packed.PackedArray_F32<Point4D_F32>
georegression.struct.packed.PackedArrayPoint4D_F32
- All Implemented Interfaces:
PackedArray<Point4D_F32>,LArrayAccessor<Point4D_F32>,MapFormattable
@Generated("georegression.struct.packed.PackedArrayPoint4D_F64")
public class PackedArrayPoint4D_F32
extends PackedArray_F32<Point4D_F32>
implements MapFormattable
Packed array of
Point4D_F32. Internally the point is stored in an interleaved format.-
Nested Class Summary
Nested classes/interfaces inherited from interface georegression.struct.packed.PackedArray
PackedArray.ProcessIndex<T> -
Field Summary
Fields inherited from class georegression.struct.packed.PackedArray_F32
array, DOF -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(float x, float y, float z, float w) voidappend(Point4D_F32 element) Appends a copy to the end of the arrayvoidcopy(Point4D_F32 src, Point4D_F32 dst) voidforIdx(int idx0, int idx1, PackedArray.ProcessIndex<Point4D_F32> op) Passes in each object and index within the specified range.formatMap(MapPrintFormat format) voidgetCopy(int index, Point4D_F32 dst) getTemp(int index) reserve(int numTuples) Ensure there is enough space to store 'numElements' before the internal array needs to grow.reset()Resets the array's size to be zerovoidset(int index, float x, float y, float z, float w) voidset(int index, Point4D_F32 element) Sets an element's valueMakes this array have a value identical to 'src'Methods inherited from class georegression.struct.packed.PackedArray_F32
format, formatMap, isEquals, isEquals, removeSwap, resize, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ddogleg.struct.LArrayAccessor
isEmpty, isNotEmptyMethods inherited from interface org.ejml.MapFormattable
formatMap
-
Constructor Details
-
PackedArrayPoint4D_F32
public PackedArrayPoint4D_F32()
-
-
Method Details
-
reset
Description copied from interface:PackedArrayResets the array's size to be zero- Specified by:
resetin interfacePackedArray<Point4D_F32>- Overrides:
resetin classPackedArray_F32<Point4D_F32>- Returns:
- An instance of 'this' for chaining
-
reserve
Description copied from interface:PackedArrayEnsure there is enough space to store 'numElements' before the internal array needs to grow. Does not change the size- Specified by:
reservein interfacePackedArray<Point4D_F32>- Overrides:
reservein classPackedArray_F32<Point4D_F32>- Parameters:
numTuples- Minimum number of elements allocated to the array- Returns:
- An instance of 'this' for chaining
-
append
Description copied from interface:PackedArrayAppends a copy to the end of the array- Specified by:
appendin interfacePackedArray<Point4D_F32>- Parameters:
element- (Input) The element which is copied then added
-
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) -
set
Description copied from interface:PackedArraySets an element's value- Specified by:
setin interfacePackedArray<Point4D_F32>
-
getTemp
- Specified by:
getTempin interfaceLArrayAccessor<Point4D_F32>
-
getCopy
- Specified by:
getCopyin interfaceLArrayAccessor<Point4D_F32>
-
copy
- Specified by:
copyin interfaceLArrayAccessor<Point4D_F32>
-
getElementType
- Specified by:
getElementTypein interfaceLArrayAccessor<Point4D_F32>
-
forIdx
Description copied from interface:PackedArrayPasses in each object and index within the specified range. Modifications to the passed in objcet will be saved in the array.- Specified by:
forIdxin interfacePackedArray<Point4D_F32>- Parameters:
idx0- Initial index. Inclusiveidx1- Last index, Exclusiveop- The operation to process each element
-
formatMap
- Specified by:
formatMapin interfaceMapFormattable
-
setTo
Makes this array have a value identical to 'src'- Parameters:
src- original array being copies- Returns:
- Reference to 'this'
-