Click or drag to resize
curvePointListXYZType Complex Type

A curve that interpolates a list of points.

Namespace: Empty

Schema: Empty

Base Type
Usages
Children
NameOccurrencesDescription
Sequence Sequence
      Element x

Vector of x coordinates

      Element y

Vector of y coordinates

      Element z

Vector of z coordinates

      Element kinkIndices[0, 1]

Indices of points at which the curve has a kink. Each index is in the range [1, npoints].

      Element parameterMap[0, 1]

Map between point index and curve parameter.

Attributes
NameTypeRequiredDescription
Attribute externalDataDirectorySimple Type string
Attribute externalDataNodePathSimple Type string
Attribute externalFileNameSimple Type string
Remarks

The curve interpolates the list of points, typically with a b-spline. In theory, the interpolation is somewhat ambiguous as it is not defined at which curve parameter a point will be interpolated.

To solve is ambiguity, an optional parameter map can be defined that maps point indices with curve parameters.

Kinks can also be modeled by populating the "kinks" array with the indices of points that should be on a kink. As an example, look at the following image:

curve point list xyz

In this example, the kinks array will be "3;7". Optionally, the parameters of the kinks can be set in the parameter map. The whole profile looks as follows:

<pointList>
    <x>...</x>
    <y>...</y>
    <z>...</z>
    <kinks>3;7</kinks>
    <parameterMap>
        <pointIndex>3;5;7</pointIndex>
        <paramOnCurve>0.2;0.5;0.8</paramOnCurve>
    </parameterMap>
</pointList>