AULib
Class AUBaseCurve

java.lang.Object
  extended by AULib.AUBaseCurve
Direct Known Subclasses:
AUBezier, AUCurve

public class AUBaseCurve
extends Object


Field Summary
static int BEZCURVE
           
static int CRCURVE
           
 
Method Summary
 int getCurveType()
           
 float getIndexTan(float _t, int _index)
           
 float getIndexValue(float _t, int _index)
           
 float getTanX(float _t)
           
 float getTanY(float _t)
           
 float getTanZ(float _t)
           
 float getX(float _t)
          Getting values
 float getY(float _t)
           
 float getZ(float _t)
           
 void setClamping(boolean _clamp)
           
 void setDensity(float _density)
           
 void setKnotIndexValue(int _knotNum, int _index, float _value)
           
 void setKnotValues(int _knotNum, float[] _vals)
           
 void setX(int _knotNum, float _x)
           
 void setXY(int _knotNum, float _x, float _y)
           
 void setXYZ(int _knotNum, float _x, float _y, float _z)
           
 void setY(int _knotNum, float _y)
           
 void setZ(int _knotNum, float _z)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CRCURVE

public static final int CRCURVE
See Also:
Constant Field Values

BEZCURVE

public static final int BEZCURVE
See Also:
Constant Field Values
Method Detail

getX

public float getX(float _t)
Getting values


getY

public float getY(float _t)

getZ

public float getZ(float _t)

getIndexValue

public float getIndexValue(float _t,
                           int _index)

getTanX

public float getTanX(float _t)

getTanY

public float getTanY(float _t)

getTanZ

public float getTanZ(float _t)

getIndexTan

public float getIndexTan(float _t,
                         int _index)

getCurveType

public int getCurveType()

setX

public void setX(int _knotNum,
                 float _x)

setY

public void setY(int _knotNum,
                 float _y)

setZ

public void setZ(int _knotNum,
                 float _z)

setXY

public void setXY(int _knotNum,
                  float _x,
                  float _y)

setXYZ

public void setXYZ(int _knotNum,
                   float _x,
                   float _y,
                   float _z)

setKnotIndexValue

public void setKnotIndexValue(int _knotNum,
                              int _index,
                              float _value)

setKnotValues

public void setKnotValues(int _knotNum,
                          float[] _vals)

setDensity

public void setDensity(float _density)

setClamping

public void setClamping(boolean _clamp)


Processing library AULib by Andrew Glassner. (c) 2014-5 Andrew Glassner