Interface ChannelFixture.IntensityFunction

Enclosing class:
ChannelFixture
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 static interface ChannelFixture.IntensityFunction
Functional interface for creating intensity values for a given location.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    valueFor(int x, int y, int z)
    Calculates the intensity value for given coordinates.
    default int
    Calculates the intensity value for a given point.
  • Method Details

    • valueFor

      default int valueFor(Point3i point)
      Calculates the intensity value for a given point.
      Parameters:
      point - The 3D point.
      Returns:
      The intensity value.
    • valueFor

      int valueFor(int x, int y, int z)
      Calculates the intensity value for given coordinates.
      Parameters:
      x - The x-coordinate.
      y - The y-coordinate.
      z - The z-coordinate.
      Returns:
      The intensity value.