Return a float in [0,1] representing the location of the closest location on the circular buffer segment to the given circular buffer, as a fraction of the segment length.