rotate_trajectory# snake.core.sampling.factories.rotate_trajectory(trajectories, theta=0)[source]# Incrementally rotate a trajectory. Parameters: trajectories (Generator[ndarray, None, None]) – Trajectory to rotate. theta (AngleRotation | float) Return type: Generator[ndarray, None, None]