nullarbor.camera
Class BezierSplinePath

public class BezierSplinePath
implements nullarbor.camera.CameraPath
Constructor Detail

BezierSplinePath

public BezierSplinePath(javax.vecmath.Point3d[] point)
Creates a new instance of BezierSplinePath Also does a whole lot of other shit.

Method Detail

getPoint

public javax.vecmath.Point3d getPoint(double time)
Returns a point on the spline at specified time.
Parameters:
time - the desired time
Returns:
the point at the time specified

getLength

public int getLength()
Returns the length in time of the whole spline. - remember each beizer segment is of time 0->1. Therefore, the length of the whole spline is equal to the number of segments.
Returns:
the time length of the spline