> For the complete documentation index, see [llms.txt](https://docs.augelab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.augelab.com/german/function-blocks/image-transformations/analysis/measure-position-distance.md).

# Measure Position Distance

Dieser Funktionsblock berechnet die Distanz zwischen zwei angegebenen Positionen in einem 2D-Raum. Er gibt die Unterschiede in den x- und y-Koordinaten sowie die Gesamtdistanz zwischen den beiden Punkten aus.

## 📥 Eingänge <a href="#inputs" id="inputs"></a>

`Point` Die erste Position im Format (x, y).

`Point` Die zweite Position im Format (x, y).

## 📤 Ausgänge <a href="#outputs" id="outputs"></a>

`X Distance` Der Unterschied in den x-Koordinaten zwischen den beiden Eingabepunkten.

`Y Distance` Der Unterschied in den y-Koordinaten zwischen den beiden Eingabepunkten.

`Distance` Die Gesamtdistanz zwischen den beiden Positionen, berechnet nach der euklidischen Distanzformel.

## 🕹️ Steuerungen <a href="#controls" id="controls"></a>

Dieser Funktionsblock hat keine Steuerungen.

## 🎨 Funktionen <a href="#features" id="features"></a>

`Distance Calculation` Nutzt die euklidische Distanzformel, um eine genaue Messung der Distanz zwischen zwei Punkten bereitzustellen.

`Multiple Outputs` Produziert separate Werte für x-Distanz, y-Distanz und Gesamtdistanz, was eine detaillierte Analyse ermöglicht.

## 📝 Nutzungshinweise <a href="#usage" id="usage"></a>

1. **Input Points**: Verbinden Sie die erste Position als `Point`-Eingang und die zweite Position als weiteren `Point`-Eingang. Stellen Sie sicher, dass beide Positionen im Format (x, y) vorliegen.
2. **Evaluate the Block**: Führen Sie den Funktionsblock aus, um die Distanzmessungen zu erhalten.

## 📊 Bewertung <a href="#evaluation" id="evaluation"></a>

Wenn dieser Funktionsblock ausgeführt wird, gibt er die Unterschiede in beide Richtungen und die Gesamtdistanz zwischen den beiden angegebenen Positionen zurück.

## 💡 Tipps und Tricks <a href="#tips-and-tricks" id="tips-and-tricks"></a>

<details>

<summary>Position Format</summary>

Stellen Sie sicher, dass die Punkte immer im korrekten `(x, y)`-Format vorliegen. Sie können die Funktionsblöcke `Get Pixel` oder `Get ROI` verwenden, um Punktkoordinaten einfach aus Bildern zu erhalten.

</details>

## 🛠️ Fehlersuche <a href="#troubleshooting" id="troubleshooting"></a>

<details>

<summary>Ungültiger Punktfehler</summary>

Wenn Sie einen Fehler über ungültige Punkte erhalten, stellen Sie sicher, dass beide Eingaben korrekt verbunden und formatiert sind. Überprüfen Sie auch `Is None`, um gültige Positionen zu verifizieren, bevor Sie sie an diesen Funktionsblock übergeben.

</details>

<details>

<summary>Unerwartete Nulldistanz</summary>

Wenn die Distanz unerwartet null ist, bestätigen Sie, dass die beiden Eingabepunkte nicht gleich sind. Passen Sie die Eingaben entsprechend an, um verschiedene Punkte zu analysieren.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.augelab.com/german/function-blocks/image-transformations/analysis/measure-position-distance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
