def rotateZ(self, angle):
rad = angle * pi / <NUM_LIT><EOL>cosa = cos(rad)<EOL>sina = sin(rad)<EOL>x = self.x * cosa - self.y * sina<EOL>y = self.x * sina + self.y * cosa<EOL>return Point3D(x, y, self.z)<EOL>
Rotates the point around the Z axis by the given angle in degrees.