---
title: "init(points:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/rect3dfloat/init(points:)"
---

# init(points:)

Creates a rectangle that’s the bounding box of the specified points.

## Declaration

```swift
init(points: [Point3DFloat])
```

## Parameters

- `points`: The array of points.

## Discussion

Discussion note: The points array must contain at least one element.
