org.jcurl.math
Class Interpolators

Package class diagram package Interpolators
java.lang.Object
  extended by org.jcurl.math.Interpolators

public class Interpolators
extends Object

Provides a number of built-in implementations of the Interpolators.LinearInterpolator interface.

Version:
$Id$
Author:
M. Rohrmoser

Nested Class Summary
protected static class Interpolators.LinearInterpolator
           
 
Constructor Summary
Interpolators()
           
 
Method Summary
static Interpolator getLinearInstance()
          Returns a trivial implementation of Interpolator that provides linear time interpolation (the input "t" value is simply returned unmodified).
static Interpolator getQuadraticInstance()
          Getting quadratically denser towards 1.0F.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interpolators

public Interpolators()
Method Detail

getLinearInstance

public static Interpolator getLinearInstance()
Returns a trivial implementation of Interpolator that provides linear time interpolation (the input "t" value is simply returned unmodified).

Returns:
an instance of Interpolator that provides simple linear time interpolation

getQuadraticInstance

public static Interpolator getQuadraticInstance()
Getting quadratically denser towards 1.0F.



Copyright © 2005-2009 jcurl.org. All Rights Reserved.