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

# rotated(by:around:)

Returns a point that results from rotating with a quaternion around the specified point.

## Declaration

```swift
func rotated(by quaternion: simd_quatd, around pivot: Point3D) -> Point3D
```

## Parameters

- `quaternion`: A point that defines the rotation pivot.
- `pivot`: The double-precision quaternion that specifies the rotation.

## Return Value

Return Value The point that results from rotating with the specified quaternion.

## 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:)-4tmfq.md)
- [unapplying(_:)](spatial/point3d/unapplying(_:)-5hk6t.md)
- [unapplying(_:)](spatial/point3d/unapplying(_:)-7wdtv.md)
- [unapplying(_:)](spatial/point3d/unapplying(_:)-7wdtv.md)
