de.grogra.ray2.radiosity
Class FormFactor

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

public class FormFactor
extends java.lang.Object

This class contains the FormFactor value.

Author:
Ralf Kopsch

Constructor Summary
FormFactor()
          Default Constructor.
FormFactor(float ff)
          This Constructor sets the given FormFactor value.
 
Method Summary
 void add(float ff)
          Adds the given value to the FormFactor value
 float getValue()
          Returns the FormFactor value.
 void setValue(float ff)
          Sets the FormFactor value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormFactor

public FormFactor()
Default Constructor.


FormFactor

public FormFactor(float ff)
This Constructor sets the given FormFactor value.

Parameters:
ff - The value to set.
Method Detail

add

public void add(float ff)
Adds the given value to the FormFactor value

Parameters:
ff - The Value to add.

getValue

public float getValue()
Returns the FormFactor value.

Returns:
Returns the FormFactor value.

setValue

public void setValue(float ff)
Sets the FormFactor value.

Parameters:
ff - The value to set.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object