C# Class QBezier, BezierPath

Inheritance: IPath
Show file Open project: inoook/BezierPath Class Usage Examples

Public Methods

Method Description
QBezier ( float x0, float y0, float z0, float cx, float cy, float cz, float x1, float y1, float z1, Quaternion rot0, Quaternion rot1 ) : System.Collections
clone ( ) : QBezier,
diff ( float t ) : PathPoint,
f ( float t ) : PathPoint,
fVec3 ( float t ) : Vector3
integrate ( float t ) : float
lengthToPoint ( float len ) : PathPoint,
lengthToValue ( float len_ ) : float
offset ( float x, float y, float z ) : void
point ( float a, float b, float c, float t ) : float
tangent ( float a, float b, float c, float t ) : float
vector ( float t ) : PathVector,

Private Methods

Method Description
__integrateInit ( ) : void
__seek ( float len_, float d, float t0 = 0.5f, float td = 0.25f ) : float
integrateF ( float t ) : float

Method Details

QBezier() public method

public QBezier ( float x0, float y0, float z0, float cx, float cy, float cz, float x1, float y1, float z1, Quaternion rot0, Quaternion rot1 ) : System.Collections
x0 float
y0 float
z0 float
cx float
cy float
cz float
x1 float
y1 float
z1 float
rot0 Quaternion
rot1 Quaternion
return System.Collections

clone() public method

public clone ( ) : QBezier,
return QBezier,

diff() public method

public diff ( float t ) : PathPoint,
t float
return PathPoint,

f() public method

public f ( float t ) : PathPoint,
t float
return PathPoint,

fVec3() public method

public fVec3 ( float t ) : Vector3
t float
return Vector3

integrate() public method

public integrate ( float t ) : float
t float
return float

lengthToPoint() public method

public lengthToPoint ( float len ) : PathPoint,
len float
return PathPoint,

lengthToValue() public method

public lengthToValue ( float len_ ) : float
len_ float
return float

offset() public method

public offset ( float x, float y, float z ) : void
x float
y float
z float
return void

point() public static method

public static point ( float a, float b, float c, float t ) : float
a float
b float
c float
t float
return float

tangent() public static method

public static tangent ( float a, float b, float c, float t ) : float
a float
b float
c float
t float
return float

vector() public method

public vector ( float t ) : PathVector,
t float
return PathVector,