Package georegression.struct.packed
Class PackedBigArrayPoint3D_F32
java.lang.Object
georegression.struct.packed.PackedBigArray_F32<Point3D_F32>
georegression.struct.packed.PackedBigArrayPoint3D_F32
- All Implemented Interfaces:
PackedArray<Point3D_F32>,LArrayAccessor<Point3D_F32>
@Generated("georegression.struct.packed.PackedBigArrayPoint3D_F64")
public class PackedBigArrayPoint3D_F32
extends PackedBigArray_F32<Point3D_F32>
Packed array of
Point3D_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.PackedBigArray_F32
array, DOF -
Constructor Summary
ConstructorsConstructorDescriptionConstructor where the default is used for all parameters.PackedBigArrayPoint3D_F32(int reservedPoints) Constructor where the initial number of points is specified and everything else is defaultPackedBigArrayPoint3D_F32(int reservedPoints, int blockSize, BigDogGrowth growth) Constructor which allows access to all array parameters -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(float x, float y, float z) voidappend(GeoTuple3D_F32<?> element) voidappend(Point3D_F32 element) Appends a copy to the end of the array<T extends GeoTuple3D_F32<T>>
voidappendAll(Collection<T> collection) Adds all the points in the collectionvoidcopy(Point3D_F32 src, Point3D_F32 dst) voidforIdx(int idx0, int idx1, PackedArray.ProcessIndex<Point3D_F32> op) Passes in each object and index within the specified range.voidgetCopy(int index, GeoTuple3D_F32<?> dst) voidgetCopy(int index, Point3D_F32 dst) getTemp(int index) voidset(int index, float x, float y, float z) voidset(int index, Point3D_F32 element) Sets an element's valueMakes this array have a value identical to 'src'intsize()Methods inherited from class georegression.struct.packed.PackedBigArray_F32
isEquals, isEquals, removeSwap, reserve, reset, resizeMethods 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, isNotEmpty
-
Constructor Details
-
PackedBigArrayPoint3D_F32
public PackedBigArrayPoint3D_F32()Constructor where the default is used for all parameters. -
PackedBigArrayPoint3D_F32
public PackedBigArrayPoint3D_F32(int reservedPoints) Constructor where the initial number of points is specified and everything else is default -
PackedBigArrayPoint3D_F32
Constructor which allows access to all array parameters- Parameters:
reservedPoints- Reserve space to store this number of points initiallyblockSize- A single block will be able to store this number of pointsgrowth- 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) -
append
-
set
public void set(int index, float x, float y, float z) -
set
Description copied from interface:PackedArraySets an element's value -
appendAll
Adds all the points in the collection -
append
Description copied from interface:PackedArrayAppends a copy to the end of the array- Parameters:
element- (Input) The element which is copied then added
-
getTemp
-
getCopy
-
getCopy
-
copy
-
size
public int size()- Specified by:
sizein interfaceLArrayAccessor<Point3D_F32>- Overrides:
sizein classPackedBigArray_F32<Point3D_F32>
-
getElementType
-
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.- Parameters:
idx0- Initial index. Inclusiveidx1- Last index, Exclusiveop- The operation to process each element
-