Approximating surface object.
#include <ayam.h>
Data Fields | |
| int | mode |
| approximation mode (U, V, UV, VU) | |
| int | width |
| width of patch (U) | |
| int | height |
| height of patch (V) | |
| int | awidth |
| desired width of created NURBS patch (U) (< width) | |
| int | aheight |
| desired height of created NURBS patch (V) (< height) | |
| int | close_u |
| is patch closed in U? | |
| int | close_v |
| is patch closed in V? | |
| int | order_u |
| desired (approximation) order (U) | |
| int | order_v |
| desired (approximation) order (V) | |
| int | ktype_u |
| knot (parameterization) type (U) | |
| int | ktype_v |
| knot (parameterization) type (V) | |
| double * | controlv |
| control points (data points) [width * height * 3] | |
| ay_object * | npatch |
| cached NURBS patch representation | |
| ay_object * | caps_and_bevels |
| cached caps and bevel objects | |
| double | glu_sampling_tolerance |
| drawing quality | |
| int | display_mode |
| drawing mode | |
1.6.3