rotateZ

fun rotateZ(origin: Point, angle: Double): Point

Rotate about origin on the Z axis.

Return

A new point rotated around the Z axis through origin.

Parameters

origin

The center of rotation.

angle

The rotation angle in radians.