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

# union(_:)

Returns the smallest volumetric entity that contains the two source entities.

## Declaration

```swift
func union(_ other: Self) -> Self
```

## Parameters

- `other`: The second primitive.

## Discussion

Discussion Returns The union of self and other.
