UtilitiesFunctionsrotate2DVersion: Nextrotate2D Callablerotate2D(point: Point2D, theta: number): { x: number; y: number }Parameterspoint: Point2Dtheta: numberReturns { x: number; y: number }x: numbery: number