rotated(by:around:)
Returns a rectangle that results from applying the specified rotation around a pivot point.
Declaration
func rotated(by rotation: Rotation3D, around pivot: Point3D) -> Rect3DParameters
- rotation:
The rotation structure that defines the rotation’s angle and axis.
- pivot:
The point structure that defines the rotation pivot point.
Return Value
The rectangle that results from applying the specified rotation around a pivot point.