---
title: CapturedRoom.Surface.Curve
framework: roomplan
role: symbol
role_heading: Structure
path: roomplan/capturedroom/surface/curve-swift.struct
---

# CapturedRoom.Surface.Curve

An object that represents a single curve of a surface.

## Declaration

```swift
struct Curve
```

## Overview

Overview Each CapturedRoom.Surface instance in a captured room’s surface arrays (doors, openings, walls, and windows) that models a curved real-world surface contains an optional property (curve) of this type.

## Topics

### Measuring a curve

- [startAngle](roomplan/capturedroom/surface/curve-swift.struct/startangle.md)
- [endAngle](roomplan/capturedroom/surface/curve-swift.struct/endangle.md)
- [radius](roomplan/capturedroom/surface/curve-swift.struct/radius.md)

### Instance Properties

- [center](roomplan/capturedroom/surface/curve-swift.struct/center.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Shaping a surface

- [completedEdges](roomplan/capturedroom/surface/completededges.md)
- [CapturedRoom.Surface.Edge](roomplan/capturedroom/surface/edge.md)
- [curve](roomplan/capturedroom/surface/curve-swift.property.md)
- [polygonCorners](roomplan/capturedroom/surface/polygoncorners.md)
