<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNGeometryUtils",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNGeometryUtils"
  },
  "title" : "VNGeometryUtils"
}
-->

# VNGeometryUtils

Utility methods to determine the geometries of various Vision types.

```
class VNGeometryUtils
```

## Topics

### Calculating Bounding Circles

[`boundingCircle(for:)`](/documentation/Vision/VNGeometryUtils/boundingCircle(for:)-423ll)

Calculates a bounding circle for the specified contour object.

[`boundingCircle(for:)`](/documentation/Vision/VNGeometryUtils/boundingCircle(for:)-9dggv)

Calculates a bounding circle for the specified array of points.

[`boundingCircle(forSIMDPoints:pointCount:)`](/documentation/Vision/VNGeometryUtils/boundingCircle(forSIMDPoints:pointCount:))

Calculates a bounding circle for the specified points.

### Calculating Area and Perimeter

[`calculateArea(_:for:orientedArea:)`](/documentation/Vision/VNGeometryUtils/calculateArea(_:for:orientedArea:))

Calculates the area for the specified contour.

[`calculatePerimeter(_:for:)`](/documentation/Vision/VNGeometryUtils/calculatePerimeter(_:for:))

Calculates the perimeter of a closed contour.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)