approximationSettingsType

complexType · sequence

Settings for approximating a point list

The curve is fitted to the points either with a given number of control points or within a given maximum error. The error is measured as the distance between each point and the curve, in the coordinates of the point list.

Attributes

NameTypeConstraintsUseDefaultDescription
@errorComputationMethodxsd:stringoptionalRMSEMethod for combining the distances between the points and the curve into the approximation error: RMSE (root mean square, default) or MaxError (maximum)

Child elements

NameTypeConstraintsOccurrenceHow often the element may appear at this place. The schema writes it as minOccurs and maxOccurs on the declaration.DefaultDescription
sequenceThe children below must appear in exactly this order. Each may repeat as often as its own occurrence allows.
choiceExactly one of the alternatives below may appear, unless the occurrence next to this line says otherwise.
controlPointNumberintegerBaseTypeminInclusive[1..1] required12Number of control points of the approximating B-spline curve (at least 4)
maximumErrordoubleBaseTypeminExclusive[1..1] required1e-5Maximum approximation error; the number of control points is increased until the error is below this value
interpolatedPointsIndicesstringVectorBaseType[0..1] optionalIndices of the points that are interpolated nonetheless, each in the range from 1 to the number of points

Used by

In a dataset · 3 paths

In the schema · 1 declaration

TypeName
curvePointListXYZTypeapproximationSettings