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.
| Name | Type | Constraints | Use | Default | Description |
|---|---|---|---|---|---|
@errorComputationMethod | xsd:string | optional | RMSE | Method for combining the distances between the points and the curve into the approximation error: RMSE (root mean square, default) or MaxError (maximum) |
| Name | Type | Constraints | OccurrenceHow often the element may appear at this place. The schema writes it as minOccurs and maxOccurs on the declaration. | Default | Description |
|---|---|---|---|---|---|
| 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. | |||||
controlPointNumber | integerBaseType | minInclusive | [1..1] required | 12 | Number of control points of the approximating B-spline curve (at least 4) |
maximumError | doubleBaseType | minExclusive | [1..1] required | 1e-5 | Maximum approximation error; the number of control points is increased until the error is below this value |
interpolatedPointsIndices | stringVectorBaseType | [0..1] optional | Indices of the points that are interpolated nonetheless, each in the range from 1 to the number of points | ||
cpacs/vehicles/profiles/fuselageProfiles/fuselageProfile/pointList/approximationSettingscpacs/vehicles/profiles/wingAirfoils/wingAirfoil/pointList/approximationSettingscpacs/vehicles/profiles/rotorAirfoils/rotorAirfoil/pointList/approximationSettings| Type | Name |
|---|---|
curvePointListXYZType | approximationSettings |