REVERSE THE POINTS ORDER BASED ON THE AXIS SELECTION¶
Reverses the order of a curve’s data points along the selected axis (X, Y, or both). Use this worker when you need to invert the traversal direction of a curve without altering its values.
When to use¶
Classification: process.
Tagged: axis, curve, invert, order, points, reverse, transform.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve | curve | vector | — | Input curve whose point order will be reversed; supply any (X, Y) vector curve — leave unconnected only if the curve is piped implicitly from an upstream worker. | |
| Axis | axis | scalar | x | Axis along which to reverse point order: ‘x’ reverses X-values only, ‘y’ reverses Y-values only, ‘xy’ reverses both axes simultaneously; defaults to ‘x’. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_reversepoints_output_1 | curve_reversepoints_output_1 | vector | Output curve identical in shape to the input but with its point sequence reversed along the chosen axis. |
Disciplines¶
- data.curve.transform
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_reversepoints
Auto-generated from transformation schema. Worker id: curve_reversepoints. Schema hash: 5c139e6ee41d. Hand-curated docs in workerexamples/ override this page when present.