<!--
{
  "documentType" : "article",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Rect3D/VolumetricProtocol-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "VolumetricProtocol Implementations"
}
-->

# VolumetricProtocol Implementations

## Topics

### Instance Methods

[`func contains(anyOf: [Point3D]) -> Bool`](/documentation/Spatial/Rect3D/contains(anyOf:))

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

[`func intersection(Rect3D) -> Rect3D?`](/documentation/Spatial/Rect3D/intersection(_:))

Returns the intersection of two rectangles.

---

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)