NAME
GDX_SPLINE_CURVE - Parametric Spline Curve
GENERAL DESCRIPTION
A GDX Parametric Spline Curve (GDX Spline Curve) represents a sequence of parametric polynomial segments. The GDX Spline Curve is parametrically defined using degree, polynomial coefficients, and breakpoints.
DDF SPECIFICATION
entity 3:0 GDX_SPLINE_CURVE "Parametric Spline Curve" {
| char | TYPE; | |
| char | XY_PLANAR; | |
| count | DEGREE; | |
| count | NSEGS; | |
| let | ORDER = DEGREE + 1; | |
| double | T[NSEGS+1]; | |
| double | XYZ_COEFS[NSEGS][ORDER * 3]; |
FIELD DESCRIPTIONS
The type of the GDX Spline Curve. The value corresponds to the CTYPE field of the IGES Parametric Spline Curve Entity (112) as defined in Section 4.12 of The Initial Graphics Exchange Specification (IGES) Version 5.2. The currently defined values are repeated below for reference:
Flag indicating whether or not the curve lies in the Z = 0.0 plane.
The curve lies in the Z = 0.0 plane.
The curve does not lie in the Z = 0.0 plane.
The degree of each polynomial segment.
The number of polynomial segments.
The order of each polynomial segment (= DEGREE + 1).
The array of increasing values corresponding to the breakpoints that delimit the polynomial segments.
Array, dimensioned to [NSEGS][ORDER * 3], containing coefficients that parametrically define the polynomial segments. The coefficients are ordered as follows (where I = 0 to NSEGS and J = 0 to DEGREE):
The polynomial coefficients that define X(u) for the I-th segment.
The polynomial coefficients that define Y(u) for the I-th segment.
The polynomial coefficients that define Z(u) for the I-th segment.
For each coordinate of each segment, the coefficients are stored corresponding to increasing powers of the parameter value (see Parameterization section below).
PARAMETERIZATION
The parameterization is the same as that used for the IGES Parametric Spline Curve Entity (Type 112) and can be found in Section 4.12 of The Initial Graphics Exchange Specification (IGES) Version 5.2. Note, however, that the IGES 112 has a constant degree of 3 while the degree of the GDX Spline Curve is variable.
PARAMETRIC RANGE
The GDX Spline Curve is defined over the following parametric range: T[0] <= u <= T[NSEGS]
RESTRICTIONS
The GDX Spline Curve is subject to the following restrictions: 0 < DEGREE <= GDX_MAX_DEG NSEGS >= 1