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