---
title: integral
framework: spatial
role: symbol
role_heading: Instance Property
path: spatial/rect3dfloat/integral
---

# integral

## Declaration

```swift
var integral: Rect3DFloat { get }
```

## Discussion

Discussion Returns the smallest rectangle with integer coordinates that contains the source rectangle. A rectangle with the smallest integer values for its origin and size that contains the source rectangle. That is, given a rectangle with fractional origin or size values, integral rounds the rectangle’s origin downward and its size upward to the nearest whole integers, such that the result contains the original rectangle.
