de.grogra.math
Class Triangle

java.lang.Object
  extended by de.grogra.persistence.ShareableBase
      extended by de.grogra.math.Triangle
All Implemented Interfaces:
Manageable, Shareable, FloatToFloat

public class Triangle
extends ShareableBase
implements FloatToFloat


Nested Class Summary
static class Triangle.Type
           
 
Field Summary
static Triangle.Type $TYPE
           
 
Constructor Summary
Triangle()
           
 
Method Summary
 float evaluateFloat(float v)
          Computes the value of this function at x.
 ManageableType getManageableType()
           
 
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

$TYPE

public static final Triangle.Type $TYPE
Constructor Detail

Triangle

public Triangle()
Method Detail

evaluateFloat

public float evaluateFloat(float v)
Description copied from interface: FloatToFloat
Computes the value of this function at x.

Specified by:
evaluateFloat in interface FloatToFloat
Parameters:
v - where the function is to be evaluated
Returns:
function value at x

getManageableType

public ManageableType getManageableType()
Specified by:
getManageableType in interface Manageable