COMPUTE ANGLE BETWEEN TWO CURVES USING LINES MEASURED AT TWO POINTS¶
Computes the angle between two curves by constructing lines measured at two user-specified X positions. Given Curve1 and Curve2 and an [X-Start, X-End] window, the worker returns the angle (in degrees) formed between the two resulting line segments. Use this worker when you need to quantify the divergence or convergence angle between a pair of time-history or spatial curves at a specific interval.
When to use¶
Classification: process.
Tagged: angle, curve_comparison, curve_geometry, geometry, two_points.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve 1 | curve1 | vector | — | First input curve (vector/XY pairs); if a CurveGroup is supplied the first member is used automatically. | |
| Curve 2 | curve2 | vector | — | Second input curve (vector/XY pairs) against which the angle is measured; if a CurveGroup is supplied the first member is used. | |
| X-Start | xbegin | scalar | 0 | X-axis coordinate of the first measurement point used to define each line segment; defaults to 0. | |
| X-End | xend | scalar | 0 | X-axis coordinate of the second measurement point used to define each line segment; defaults to 0 — set this to a value greater than xbegin to obtain a meaningful angle. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Curve Formatted | curve_formatted | scalar | Scalar value representing the angle (degrees) between the two line segments constructed from Curve1 and Curve2 at the specified X-Start and X-End positions. |
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_get_angle_at_two_points
Auto-generated from transformation schema. Worker id: curves_get_angle_at_two_points. Schema hash: 75c6f70ea5da. Hand-curated docs in workerexamples/ override this page when present.