---
title: "containsAny(of:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/rect3d/containsany(of:)"
---

# containsAny(of:)

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

## Declaration

```swift
func containsAny(of points: [Point3D]) -> Bool
```

## Parameters

- `points`: The array of points that the function compares against.

## Return Value

Return Value A Boolean value that indicates whether the rectangle contains any of the specified points.

## See Also

### Deprecated symbols

- [distance(to:)](spatial/rect3d/distance(to:).md)
- [rotation(to:)](spatial/rect3d/rotation(to:).md)
- [maxX](spatial/rect3d/maxx.md)
- [maxY](spatial/rect3d/maxy.md)
- [maxZ](spatial/rect3d/maxz.md)
- [midX](spatial/rect3d/midx.md)
- [midY](spatial/rect3d/midy.md)
- [midZ](spatial/rect3d/midz.md)
- [minX](spatial/rect3d/minx.md)
- [minY](spatial/rect3d/miny.md)
- [minZ](spatial/rect3d/minz.md)
