---
title: OrientedBoundingBox
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/orientedboundingbox
---

# OrientedBoundingBox

Representation for an oriented bounding box. Uses a combination of an axis-aligned bounding box and a rotation vector around the centroid of the said axis-aligned bounding box to represent an oriented bounding box.

## Declaration

```swift
struct OrientedBoundingBox
```

## Topics

### Initializers

- [init(orientation:boundingBox:)](realitykit/orientedboundingbox/init(orientation:boundingbox:).md)

### Instance Properties

- [boundingBox](realitykit/orientedboundingbox/boundingbox.md)
- [orientation](realitykit/orientedboundingbox/orientation.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Bounding box retrieval

- [BoundingBox](realitykit/boundingbox.md)
