<!--
{
  "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/VNCircle/contains(_:inCircumferentialRingOfWidth:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNCircle(im)containsPoint:inCircumferentialRingOfWidth:"
  },
  "title" : "contains(_:inCircumferentialRingOfWidth:)"
}
-->

# contains(_:inCircumferentialRingOfWidth:)

Determines if a ring around this circle’s circumference contains the specified point.

```
func contains(_ point: VNPoint, inCircumferentialRingOfWidth ringWidth: Double) -> Bool
```

## Parameters

`point`

The point to test.

`ringWidth`

The width of the ring around this circle’s circumference.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the ring contains the specified point, otherwise <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

---

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)