Interface ProcessVoxelBufferUnaryWithPoint<T,E extends Exception>
- Type Parameters:
T- buffer-typeE- exception that may be thrown by the processor.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Processes a 3D point like
ProcessVoxelBufferUnary but also exposes a Point3i.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(Point3i point, VoxelBuffer<T> buffer, int offset) Processes a voxel location in a buffer.
-
Method Details
-
process
Processes a voxel location in a buffer.- Parameters:
point- a point with global coordinatesbuffer- a buffer for the current slice for whichoffsetrefers to a particular locationoffset- an offset value for the current slice (i.e. indexing XY only, but not Z)- Throws:
E- if anything goes wrong
-