Interface PredicateKernelPointCursor

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 PredicateKernelPointCursor
Processes a KernelPointCursor and evaluates a predicate on the current position.
Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Notifies the processor that there has been a change in z-coordinate.
    boolean
    Whether the condition is satisfied for a particular point?
  • Method Details

    • notifyChangeSlice

      default void notifyChangeSlice(int z)
      Notifies the processor that there has been a change in z-coordinate.
      Parameters:
      z - the index of the z-slice.
    • test

      boolean test(KernelPointCursor point)
      Whether the condition is satisfied for a particular point?
      Parameters:
      point - the point to query.
      Returns:
      true iff the condition is satisfied.