Interface SurfaceGraph3D.MathFunction3D

Enclosing class:
SurfaceGraph3D
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 SurfaceGraph3D.MathFunction3D
Functional interface for 3D mathematical functions of the form z = f(x, y).
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    apply(double x, double y)
    Computes the Z value for given X and Y coordinates.
  • Method Details

    • apply

      double apply(double x, double y)
      Computes the Z value for given X and Y coordinates.
      Parameters:
      x - the X coordinate
      y - the Y coordinate
      Returns:
      the Z value (height) at the given (x, y) position