---
title: "init(boxMin:boxMax:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/boundingspherebox/init(boxmin:boxmax:)"
---

# init(boxMin:boxMax:)

Creates a bounding box from minimum and maximum corner positions, with a circumscribed sphere.

## Declaration

```swift
init(boxMin: SIMD3<Float>, boxMax: SIMD3<Float>)
```

## Parameters

- `boxMin`: The minimum corner of the bounding box in model space.
- `boxMax`: The maximum corner of the bounding box in model space.

## See Also

### Creating a bounding volume

- [init(center:radius:)](realitykit/boundingspherebox/init(center:radius:).md)
- [init(center:halfExtents:)](realitykit/boundingspherebox/init(center:halfextents:).md)
- [init(center:fullExtents:)](realitykit/boundingspherebox/init(center:fullextents:).md)
