CURVES RDP DOWNSAMPLING¶
Reduces the number of points in one or more curves using the Ramer–Douglas–Peucker (RDP) algorithm. Use this worker to downsample dense time-history or XY curves while preserving their overall shape, before plotting, further processing, or storage.
When to use¶
Classification: process.
Tagged: curve-simplification, downsampling, point-reduction, ramer-douglas-peucker, rdp.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve 1 | curves | vector | — | One or more XY curves to be downsampled; accepts multiple curve objects — leave empty if curves are supplied by an upstream worker. | |
| Epsilon | epsilon | scalar | 1 | Maximum allowable perpendicular distance (in curve units) between the original and simplified curve; default is 1 — increase to remove more points, decrease to preserve more detail. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_rdp_downsampling_output_1 | curves_rdp_downsampling_output_1 | vector | Downsampled version of the input curve(s), retaining only the points needed to approximate the original shape within the specified epsilon tolerance. |
Disciplines¶
- data.curve.transform
- data.signal_processing
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_rdp_downsampling
Auto-generated from transformation schema. Worker id: curves_rdp_downsampling. Schema hash: d249d6bf36c4. Hand-curated docs in workerexamples/ override this page when present.