Module raytracer

Class FormFactor

java.lang.Object
de.grogra.ray2.radiosity.FormFactor

public class FormFactor extends Object
This class contains the FormFactor value.
Author:
Ralf Kopsch
  • Constructor Details

    • FormFactor

      public FormFactor()
      Default Constructor.
    • FormFactor

      public FormFactor(float ff)
      This Constructor sets the given FormFactor value.
      Parameters:
      ff - The value to set.
  • Method Details

    • setValue

      public void setValue(float ff)
      Sets the FormFactor value.
      Parameters:
      ff - The value to set.
    • getValue

      public float getValue()
      Returns the FormFactor value.
      Returns:
      Returns the FormFactor value.
    • add

      public void add(float ff)
      Adds the given value to the FormFactor value
      Parameters:
      ff - The Value to add.
    • toString

      public String toString()
      Overrides:
      toString in class Object