---
title: TableVisualState.Point2D
framework: tabletopkit
role: symbol
role_heading: Structure
path: tabletopkit/tablevisualstate/point2d
---

# TableVisualState.Point2D

An object that represents a point on the XZ plane.

## Declaration

```swift
struct Point2D
```

## Topics

### Creating 2D point states

- [init()](tabletopkit/tablevisualstate/point2d/init().md)
- [init(projecting:)](tabletopkit/tablevisualstate/point2d/init(projecting:).md)
- [init(x:z:)](tabletopkit/tablevisualstate/point2d/init(x:z:).md)

### Getting 2D point properties

- [x](tabletopkit/tablevisualstate/point2d/x.md)
- [z](tabletopkit/tablevisualstate/point2d/z.md)
- [zero](tabletopkit/tablevisualstate/point2d/zero.md)

### Default Implementations

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

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [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 2D states

- [TableVisualState.Pose2D](tabletopkit/tablevisualstate/pose2d.md)
