- FIND AND REMOVE THE INTERSECTIONS BETWEEN CURVES*
Detects and removes intersections between a group of curves relative to a chosen baseline curve, using either a Y-offset or rotation method. Optionally syncs X extents before detection and controls the vertical ordering of the adjusted curves. Use this worker to enforce non-crossing constraints on curve families (e.g., corridor bounds, percentile envelopes).
When to use¶
Classification: process.
Tagged: corridor, curve_ordering, curves, envelope, intersection, remove_intersections, rotate, sync.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves | curves | vector | — | Collection of input curves (vector) that may contain mutual intersections; accepts multiple curves simultaneously. | |
| Baseline Curve Index | baseline_curve_index | scalar | 0 | Zero-based index identifying the reference (baseline) curve against which intersections are detected and resolved; defaults to 0 (first curve). | |
| Method Of Removal | methodof_removal | float | y_offset | Algorithm used to eliminate intersections: ‘y_offset’ shifts non-baseline curves vertically, ‘rotate’ tilts them; defaults to ‘y_offset’. | |
| Min X | min_x | float | 0 | X-axis threshold below which detected intersections are ignored; intersections occurring before this value are not resolved; defaults to 0. | |
| Sync Before Checking For Intersections | syncbeforechecking | scalar | yes | When set to ‘yes’ (default), all curves are synchronised to a common Xmin/Xmax before intersection detection to ensure a consistent X domain. | |
| Order | order | scalar | up | Desired vertical ordering of the curves after intersection removal: ‘up’ (default) stacks curves upward from the baseline, ‘down’ stacks them downward. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_remove_intersections_output_1 | curves_remove_intersections_output_1 | vector | Adjusted curve group (vector) with all detected intersections resolved, preserving the original curve count and X domain. |
Disciplines¶
- data.curve.pair
- 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_remove_intersections
Auto-generated from transformation schema. Worker id: curves_remove_intersections. Schema hash: dc286e6ce6ce. Hand-curated docs in workerexamples/ override this page when present.