rotated(by:around:)
Returns a point that results from applying a rotation around the specified point.
Declaration
func rotated(by rotation: Rotation3D, around pivot: Point3D) -> Point3DParameters
- 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.