COMPUTE THE DISTANCE BETWEEN TWO POINT TIME-HISTORY¶
Computes the Euclidean distance between two points supplied as XYZ coordinate vectors. Use this worker whenever you need a scalar separation distance between two spatial locations as part of a larger time-history or geometry workflow.
When to use¶
Classification: process.
Tagged: distance, euclidean, geometry, point_distance, scalar, two_points, xyz.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Point 1 XYZ | point1xy_z | vector | — | XYZ coordinates of the first point supplied as a 3-element numeric vector [x, y, z]; units should match those of Point 2 (e.g., mm or m). | |
| Point 2 XYZ | point2xy_z | vector | — | XYZ coordinates of the second point supplied as a 3-element numeric vector [x, y, z]; units must be consistent with Point 1. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_dist_from_two_points_output_1 | curve_dist_from_two_points_output_1 | scalar | Scalar Euclidean distance between Point 1 and Point 2, returned in the same length units as the input coordinate vectors. |
Disciplines¶
- data.curve.pair
- data.signal_processing
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_dist_from_two_points
Auto-generated from transformation schema. Worker id: curve_dist_from_two_points. Schema hash: e30e4cf124fb. Hand-curated docs in workerexamples/ override this page when present.