---
title: "rotated(by:around:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/point3d/rotated(by:around:)-4tmfq"
---

# rotated(by:around:)

Returns a point that results from applying a rotation around the specified point.

## Declaration

```swift
func rotated(by rotation: Rotation3D, around pivot: Point3D) -> Point3D
```

## Parameters

- `rotation`: A point that defines the rotation pivot.
- `pivot`: The rotation structure that defines the rotation’s angle and axis.

## Return Value

Return Value The point that results from applying the specified rotation.

## See Also

### Transforming a 3D point structure

- [applying(_:)](spatial/point3d/applying(_:)-1f4em.md)
- [applying(_:)](spatial/point3d/applying(_:)-1f4em.md)
- [applying(_:)](spatial/point3d/applying(_:)-7ulww.md)
- [clamp(to:)](spatial/point3d/clamp(to:).md)
- [scale(by:)](spatial/point3d/scale(by:).md)
- [rotated(by:around:)](spatial/point3d/rotated(by:around:)-chuy.md)
- [unapplying(_:)](spatial/point3d/unapplying(_:)-5hk6t.md)
- [unapplying(_:)](spatial/point3d/unapplying(_:)-7wdtv.md)
- [unapplying(_:)](spatial/point3d/unapplying(_:)-7wdtv.md)
