<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/VolumetricProtocol/contains(anyOf:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:7Spatial18VolumetricProtocolP8contains5anyOfSbSay5PointQzG_tF"
  },
  "title" : "contains(anyOf:)"
}
-->

# contains(anyOf:)

Returns a Boolean value that indicates whether this volume contains any of the specified points.

```
func contains(anyOf points: [Self.Point]) -> Bool
```

## Parameters

`points`

An array of points.

## Discussion

- Returns A Boolean value that indicates whether `self` contains any of the specified points.

---

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)