getNextPosition

open override fun getNextPosition(): P

The next position to reach, in absolute or relative coordinates depending on isAbsolute.