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.
Functional interface for 3D mathematical functions of the form z = f(x, y).
-
Method Summary
Modifier and TypeMethodDescriptiondoubleapply(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 coordinatey- the Y coordinate- Returns:
- the Z value (height) at the given (x, y) position
-