<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Point3D/rotated(by:around:)-4tmfq",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "c:@F@SPPoint3DRotateAroundPoint#$@UA@SPPoint3D#$@UA@SPRotation3D#S0_#"
  },
  "title" : "rotated(by:around:)"
}
-->

# rotated(by:around:)

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

```
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

The point that results from applying the specified rotation.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)