 |
PK_knot_type_t |
|
typedef int PK_knot_type_t;
Used in:
PK_BCURVE_sf_t
PK_BSURF_sf_t
PK_LAW_sf_t
This field can take any one of the following values.
'PK_knot_unset_c' : The type has not been calculated.
'PK_knot_non_uniform_c' : The knot set is general non uniform.
'PK_knot_uniform_c' : The knots are uniformly spaced.
'PK_knot_quasi_uniform_c' : The first and last knots have
multiplicity degree+1, and the
remainder have multiplicity 1, with
equal spacing.
'PK_knot_piecewise_bezier_c' : The first and last knots have
multiplicity degree+1 and the
remainder have multiplicity degree,
with equal spacing.
'PK_knot_bezier_ends_c' : The first and last knots have
multiplicity degree+1. In other
respects the knot set is non uniform.
'PK_knot_smooth_seam_c' : Applicable only to PK_BCURVE_create.
Modifications will be made to the curve
input data to guarantee the end and start
of the curve meet sufficiently smoothly to
ensure periodic parameterisation. The first
knot multiplicity must equal 1 and the sum
of knot multiplicities must equal
n_vertices+1. The multiplicity of the
periodic knot is defined by the last knot
multiplicity and must be less than degree+1.
The algorithm will then ensure sufficient
smoothness is achieved by repeating the
first n vertices at the end and by matching
knot intervals, where n equals the order
less periodic knot multiplicity.