Interface ProcessPointAndIndex
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ProcessPointAndIndex
Processes a
Point3i also including an index.- Author:
- Owen Feehan
-
Method Summary
Modifier and Type Method Description default voidnotifyChangeSlice(int z)Notifies the processor that there has been a change in Z-coordinate.default voidnotifyChangeY(int y)Notifies the processor that there has been a change in Y-coordinate.voidprocess(Point3i point, int index)Processes a particular point.
-
Method Details
-
notifyChangeY
default void notifyChangeY(int y)Notifies the processor that there has been a change in Y-coordinate.- Parameters:
y- the coordinate in the Y dimension.
-
notifyChangeSlice
default void notifyChangeSlice(int z)Notifies the processor that there has been a change in Z-coordinate.- Parameters:
z- the coordinate in the Z dimension.
-
process
Processes a particular point.- Parameters:
point- the point to process.index- the offset ofpointin the associated buffer.
-