Class ToRadiansOperation

java.lang.Object
de.fho.jump.pirol.utilities.FormulaParsing.FormulaValue
de.fho.jump.pirol.utilities.FormulaParsing.Operations.ToRadiansOperation

public class ToRadiansOperation extends FormulaValue
  • Field Details

  • Constructor Details

    • ToRadiansOperation

      public ToRadiansOperation(FormulaValue value)
  • Method Details

    • getValue

      public double getValue(Feature feature)
      Description copied from class: FormulaValue
      Returns the value (as a double) of this part of the formula. It may be the result of a sub-formula, a feature-specific attribute value or just a constant value... Since the value may depend on a feature, we give the feature to the method to get a unified interface...
      Specified by:
      getValue in class FormulaValue
      Returns:
      value of this part of the formula
    • isFeatureDependent

      public boolean isFeatureDependent()
      Description copied from class: FormulaValue
      Helps to determine, if the value depends on a feature's attribute value.
      Specified by:
      isFeatureDependent in class FormulaValue
      Returns:
      true, if the value depends on a feature
    • toString

      public String toString()
      Overrides:
      toString in class FormulaValue