pub fn root_dir_point_segment_var<I: Span>(input: I) -> Res<I, PointSegVar>