COMPUTE CROSS-OVER POINT WITH ANOTHER CURVE

Finds the intersection point between two curves and returns either the X or Y coordinate of that crossover. Use this worker when you need to identify where two time-history or XY curves cross each other.

When to use

Classification: process.

Tagged: crossover, curve_pair, intersection, xy_curve.

Inputs

Label ID Type Default Required Description
Curve curve1 vector   First input curve (XY vector or CurveGroup — if a group, the first curve is used) to intersect against curve2.
Curve curve2 vector   Second input curve (XY vector or CurveGroup — if a group, the first curve is used) to intersect against curve1.
crossover_type crossover_type text select   Selects which coordinate of the intersection to return: ‘x’ for the Cross-over X-Value or ‘y’ for the Cross-over Y-Value; defaults to ‘select’ (no output) if left unset.

Outputs

Label ID Type Description
Cross-over Value crossover_value scalar Scalar coordinate (X or Y, as chosen by crossover_type) at the point where curve1 and curve2 intersect.

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=curve_get_crossover_point


Auto-generated from transformation schema. Worker id: curve_get_crossover_point. Schema hash: 45d3df8bbc3c. Hand-curated docs in workerexamples/ override this page when present.