Extracted segment_by_velocity and get_control_pts methods.