> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Distance to Curve from Axis

<CardGroup cols={2}>
  <Card title="Curve, Axis, Vector, 5.24.0" href="#curve-axis-vector-5240" />

  <Card title="Curve, Axis, Vector, 5.30.0" href="#curve-axis-vector-5300" />
</CardGroup>

***

<h2 id="curve-axis-vector-5240">
  Curve, Axis, Vector, 5.24.0
</h2>

Computes the signed distance from a planar curve to an axis. The curve must behave like a function relative to the axis, meaning it has exactly one output distance for each input along the axis.

### Inputs

| Name      | Type                                                   | Description                                        |
| --------- | ------------------------------------------------------ | -------------------------------------------------- |
| Curve     | [Curve](../../../../block-documentation/types/curve)   | The input 3D curve (must be planar with the axis). |
| Axis      | [Axis](../../../../block-documentation/types/axis)     | The axis to measure from.                          |
| Direction | [Vector](../../../../block-documentation/types/vector) | The direction along which to measure the distance. |

### Outputs

| Type                                                               |
| ------------------------------------------------------------------ |
| [Scalar Field](../../../../block-documentation/types/scalar-field) |

***

<h2 id="curve-axis-vector-5300">
  Curve, Axis, Vector, 5.30.0
</h2>

Computes the signed distance from a planar curve to an axis. The curve must behave like a function relative to the axis, meaning it has exactly one output distance for each input along the axis.

### Inputs

| Name      | Type                                                   | Description                                        |
| --------- | ------------------------------------------------------ | -------------------------------------------------- |
| Curve     | [Curve](../../../../block-documentation/types/curve)   | The input 3D curve (must be planar with the axis). |
| Axis      | [Axis](../../../../block-documentation/types/axis)     | The axis to measure from.                          |
| Direction | [Vector](../../../../block-documentation/types/vector) | The direction along which to measure the distance. |

### Outputs

| Type                                                               |
| ------------------------------------------------------------------ |
| [Scalar Field](../../../../block-documentation/types/scalar-field) |
