Interface ProcessPoint
- 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 ProcessPoint
Processes a 3D point.
- 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)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.
-