---
title: "distance(_:)"
framework: vision
role: symbol
role_heading: Instance Method
path: "vision/vnpoint/distance(_:)"
---

# distance(_:)

Returns the distance to another point.

## Declaration

```swift
func distance(_ point: VNPoint) -> Double
```

## Parameters

- `point`: The point for which to calculate the distance.

## Return Value

Return Value The calculated distance.

## See Also

### Calculating Distance

- [distance(_:_:)](vision/vnpoint/distance(_:_:).md)
