Calc Mask Spans on Given Lines
Function
This Step draws 2D lines from 3D poses. If the projected point of a pose falls inside the corresponding mask, this Step will calculate the distance between the two intersection points of the line with the farthest edges of the mask. Otherwise, this Step will consider the calculated distance invalid and set it to 0.