|
sdr 0.21 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.cscott.sdr.util.Bezier
public class Bezier
Utility methods for efficiently evaluating bezier curves.
Method Summary | |
---|---|
static float |
cubicDeriv(float p0,
float p1,
float p2,
float p3,
float t)
Evaluate the derivative of a cubic bezier with the given four control points. |
static float |
cubicInterp(float p0,
float p1,
float p2,
float p3,
float t)
Evaluate a cubic bezier with the given four control points. |
static float |
quadInterp(float p0,
float p1,
float p2,
float t)
Evaluate a quadratic bezier with the given three control points. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static float cubicInterp(float p0, float p1, float p2, float p3, float t)
public static float cubicDeriv(float p0, float p1, float p2, float p3, float t)
public static float quadInterp(float p0, float p1, float p2, float t)
|
sdr 0.21 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |