Interface Theta

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 Theta
This is a functional interface representing a mathematical angle Theta, which returns the zenith value.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Theta
    from(double x, double z)
     
    double
    This method returns a double value representing the zenith angle.
    static Theta
    of(double zenithAngle)
     
  • Method Details

    • getZenith

      double getZenith()
      This method returns a double value representing the zenith angle.
      Returns:
      the zenith angle as a double.
    • from

      static Theta from(double x, double z)
    • of

      static Theta of(double zenithAngle)