---
title: TableVisualState.OrientedRect3D
framework: tabletopkit
role: symbol
role_heading: Structure
path: tabletopkit/tablevisualstate/orientedrect3d
---

# TableVisualState.OrientedRect3D

An object that represents the position and orientation of a 3D rectangle.

## Declaration

```swift
struct OrientedRect3D
```

## Topics

### Creating 3D rectangle states

- [init()](tabletopkit/tablevisualstate/orientedrect3d/init().md)
- [init(pose:size:)](tabletopkit/tablevisualstate/orientedrect3d/init(pose:size:).md)
- [init(rotation:rect:)](tabletopkit/tablevisualstate/orientedrect3d/init(rotation:rect:).md)

### Getting 3D rectangle properties

- [pose](tabletopkit/tablevisualstate/orientedrect3d/pose.md)
- [size](tabletopkit/tablevisualstate/orientedrect3d/size.md)

### Default Implementations

- [Decodable Implementations](tabletopkit/tablevisualstate/orientedrect3d/decodable-implementations.md)
- [Encodable Implementations](tabletopkit/tablevisualstate/orientedrect3d/encodable-implementations.md)

## Relationships

### Conforms To

- [CustomStringConvertible](swift/customstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Representing 3D states

- [bounds(for:)](tabletopkit/tablevisualstate/bounds(for:).md)
- [bounds(forEquipment:)](tabletopkit/tablevisualstate/bounds(forequipment:).md)
- [bounds(matching:)](tabletopkit/tablevisualstate/bounds(matching:).md)
- [goalBounds(forEquipment:)](tabletopkit/tablevisualstate/goalbounds(forequipment:).md)
- [goalBounds(matching:)](tabletopkit/tablevisualstate/goalbounds(matching:).md)
- [tableBounds](tabletopkit/tablevisualstate/tablebounds.md)
