fix GetOrbitDirection

add description to GetOrbitDirection function