advance

fun advance(): TrajectoryPoint?

Advances to the next point in the trajectory.

Return

TrajectoryPoint object, if the advance operation was successful, null otherwise (e.g. the end of the trajectory was reached)