---
title: "intersection(_:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/size3d/intersection(_:)"
---

# intersection(_:)

Returns the intersection of two sizes.

## Declaration

```swift
func intersection(_ other: Size3D) -> Size3D?
```

## Parameters

- `other`: The size that the function compares against.

## Return Value

Return Value A new size that is the intersection of two sizes.
