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 kinks[0, 1]

Points, at which the curve has a kink. This list contains the indices of the points at which the curve should contain a kink. Each index is in the range [0, n-1].

      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 "2;6". Optionally, the parameters of the kinks can be set in the parameter map. The whole profile looks as follows:

<pointList>
  <x mapType="vector">...</x>
  <y mapType="vector">...</y>
  <z mapType="vector">...</z>
  <kinks mapType="vector">2;6</kinks>
  <parameterMap>
    <pointIndex mapType="vector">2;4;6</pointIndex>
    <paramOnCurve mapType="vector">0.2;0.5;0.8</paramOnCurve>
  </parameterMap>
</pointList>