RETAIN ONLY THE FIRST AND LAST POINTS OF A CURVE¶
Strips all intermediate points from one or more curves, retaining only the first and last data points of each. Use this worker to reduce a curve to its endpoints, for example to extract boundary values or simplify a curve before further processing.
When to use¶
Classification: process.
Tagged: curve, endpoints, first, last, reduce, retain, simplify.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves | curves | vector | — | One or more input curves whose intermediate points will be discarded; only the first and last point of each curve are kept. Accepts any curve format supported by the platform (e.g. time-history or XY pairs). |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_retain_first_last_points_output_1 | curves_retain_first_last_points_output_1 | vector | The reduced curve(s), each containing exactly two points — the original first and last data points of the corresponding input curve. |
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=curves_retain_first_last_points
Auto-generated from transformation schema. Worker id: curves_retain_first_last_points. Schema hash: 9e2ab3f41356. Hand-curated docs in workerexamples/ override this page when present.