Home | All Classes | Grouped Classes | Index | Search
Class for Bezier surfaces More...
Derived from:
none
Derived by:
none
Group: Core (Math)
#include <ClanLib/core.h>
Construction:
Constructor |
Attributes:
Returns the number of steps | |
Returns the number of steps | |
Returns the number of surface segments | |
Returns the number of surface segments | |
Returns whether steps is the number of points per segment or per curve. | |
Nak Nak - don't expect it to be implemented too soon... Returns the length of a segment (or the surface) Returns an array of xs * xsteps * ys * ysteps CL_Vectors -> the surface | |
Returns the 16 * xs * ys control points |
Operations:
Sets the number of steps | |
Sets the number of steps | |
Sets the stepping |
Operators:
Returns the n-th vector of the curve (_doesn't_ return a reference) |
Detailed description:
This class generates points on a Bezier surface from given control points
USE AT YOUR OWN RISK TILL THIS CLASS IS EXTENSIVELY TESTED!!! I WILL REMOVE THIS WARNING ONCE IT BASICALLY WORKS.
I hate documentation work and I won't document this code before any one besides me actually uses it. So if you want to use it simply write a mail on the ClanLib User list and I will do what I can :-)
1999/12/30 vogel renamed CL_Bezier to CL_BezierCurve
added CL_BezierSurface
1999/07/07 vogel initial version
BezierCurve TODO:
- length and stepping per curve
stepping per curve means that the generated points are equidistant to each other and this requires get_length() working. So at the moment all that is working is having 'n' equidistant points per segment.
same applies to BezierSurface.