#include <mSplinePatch.h>
Class for spline control points.
- See also
- SplinePatch
◆ SplCtrlPts()
◆ ~SplCtrlPts()
◆ addPoint()
Adds a point to the end of the spline
- Parameters
-
| point | New point to be added |
◆ getNumPoints()
Gets the number of points in the spline.
◆ getPoint()
| const Point3F * getPoint |
( |
U32 |
pointNum | ) |
|
Gets the point at the given index
- Parameters
-
| pointNum | index of the point in question |
◆ setPoint()
| void setPoint |
( |
Point3F & |
point, |
|
|
U32 |
pointNum |
|
) |
| |
Sets a point at the given index to the point given
- Parameters
-
| point | New value for the given point |
| pointNum | index of the given point |
◆ submitPoints()
| void submitPoints |
( |
Point3F * |
pts, |
|
|
U32 |
num |
|
) |
| |
Clears existing points and enters new points
- Parameters
-
| pts | List of points to be added |
| num | Number of points to be added |
The documentation for this class was generated from the following files:
- math/mSplinePatch.h
- math/mSplinePatch.cc