ADD POINTS WHERE THE CURVE INTERSECTS WITH THE X-AXIS¶
Inserts new points at every location where the input curve crosses the X-axis (Y = 0) by linearly interpolating between adjacent samples that straddle zero. Use this worker to precisely capture zero-crossings before further curve analysis or segmentation.
When to use¶
Classification: process.
Tagged: add-points, curve, interpolation, intersection, x-axis, zero-crossing.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve | curve | vector | — | Input curve (X/Y vector pair) whose zero-crossings will be detected; the worker interpolates exact intersection points along each segment that crosses Y = 0. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_add_points_at_intersections_with_xaxis_output_1 | curve_add_points_at_intersections_with_xaxis_output_1 | vector | Output curve identical to the input but augmented with precisely interpolated points at every X-axis (Y = 0) intersection. |
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_add_points_at_intersections_with_xaxis
Auto-generated from transformation schema. Worker id: curve_add_points_at_intersections_with_xaxis. Schema hash: 05c45e635a28. Hand-curated docs in workerexamples/ override this page when present.