---
title: "boundingCircle(for:)"
framework: vision
role: symbol
role_heading: Type Method
path: "vision/vngeometryutils/boundingcircle(for:)-423ll"
---

# boundingCircle(for:)

Calculates a bounding circle for the specified contour object.

## Declaration

```swift
class func boundingCircle(for contour: VNContour) throws -> VNCircle
```

## Parameters

- `contour`: A contour around which to calculate the bounding circle.

## Return Value

Return Value The bounding VNCircle object.

## See Also

### Calculating Bounding Circles

- [boundingCircle(for:)](vision/vngeometryutils/boundingcircle(for:)-9dggv.md)
- [boundingCircle(forSIMDPoints:pointCount:)](vision/vngeometryutils/boundingcircle(forsimdpoints:pointcount:).md)
