Represents one NURBS curve. More...
#include <curved.h>
Public Member Functions | |
| Nurbs () | |
| void | unref () |
Public Attributes | |
| int | degree |
| curve degree (2=quadratic, etc.) | |
| int | np |
| number of control points | |
| double3 * | pt |
| control points and their weights | |
| int | nk |
| knot vector length | |
| double * | kv |
| knot vector | |
| int | ref |
| reference counter (the structure is deleted when this reaches zero) | |
| bool | twin |
| true on internal curved edges for the second (artificial) Nurbs | |
| bool | arc |
| true if this is in fact a circular arc | |
| double | angle |
| arc angle | |
Represents one NURBS curve.
The structure Nurbs defines one curved edge, or, more precisely, the control points and other data for one NURBS curve.
A good introduction to NURBS curves can be found here.
| Nurbs::Nurbs | ( | ) | [inline] |
| void Nurbs::unref | ( | ) |
| double Nurbs::angle |
arc angle
| bool Nurbs::arc |
true if this is in fact a circular arc
| int Nurbs::degree |
curve degree (2=quadratic, etc.)
| double* Nurbs::kv |
knot vector
| int Nurbs::nk |
knot vector length
| int Nurbs::np |
number of control points
| int Nurbs::ref |
reference counter (the structure is deleted when this reaches zero)
| bool Nurbs::twin |
true on internal curved edges for the second (artificial) Nurbs
1.6.3