curvePointListXYZType Complex Type |
A curve that interpolates a list of points.
Namespace: Empty
Schema: Empty
Name | Occurrences | Description |
---|---|---|
Sequence | ||
x | Vector of x coordinates | |
y | Vector of y coordinates | |
z | Vector of z coordinates | |
kinkIndices | [0, 1] | Indices of points at which the curve has a kink. Each index is in the range [1, npoints]. |
parameterMap | [0, 1] | Map between point index and curve parameter. |
Name | Type | Required | Description |
---|---|---|---|
externalDataDirectory | string | ||
externalDataNodePath | string | ||
externalFileName | string |
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:
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>