line sampling is done as part of parse
do line sampling along the middle of the slices, not the boundaries
get cursor state as an angle