ADD CURVE AFTER A INDEX¶
Inserts one or more curves into an existing curve collection immediately after a specified zero-based index position. Use this worker when you need to inject curves at a precise location within an ordered curve group without removing existing members.
When to use¶
Classification: process.
Tagged: add_by_index, curve_group, curves, index, insert, reorder.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves | curves | vector | — | The base collection of curves (curve vector/group) into which new curves will be inserted; accepts multiple curve objects, zero-based indexing applies. | |
| Index | index | integer | 0 | Zero-based integer position after which the new curves are inserted; defaults to 0 (insert after the first curve). | |
| Curves To Add | curvesto_add | vector | — | One or more curves to insert into the base collection at the position specified by ‘index’. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_removebyindex_output_1 | curves_removebyindex_output_1 | vector | The resulting ordered curve collection after the new curves have been inserted at the specified index position. |
Disciplines¶
- data.curve.pair
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_addbyindex
Auto-generated from transformation schema. Worker id: curves_addbyindex. Schema hash: b97f928ffb1e. Hand-curated docs in workerexamples/ override this page when present.