> ## 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.

# Perpendicular Distance

## About this Block

**What it does:** The **Perpendicular Distance** block generates a scalar field of the distance to an input surface mesh perpendicular to a specified direction.

**Common uses:**

* Measure perpendicular distance

**Tips:**

* Use the **Evaluate Field** block to calculate the scalar perpendicular distance from an input point.

## Example File

![Perpendicular Distance](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/perpendicuar_distance.jpg)

***

Returns a scalar field of the perpendicular distance to a target mesh.

### Inputs

| Name      | Type                                                   | Description                                                                           |
| --------- | ------------------------------------------------------ | ------------------------------------------------------------------------------------- |
| Mesh      | [Mesh](../../../../block-documentation/types/mesh)     | Mesh to get perpendicular distance from.                                              |
| Direction | [Vector](../../../../block-documentation/types/vector) | Distance values to the target object will be queried perpendicular to this direction. |

### Outputs

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