“…The points (x 0 , y 0 , z 0 ) and (x 1 , y 1 , z 1 ) correspond to the extremities of the first segment, while (x 2 , y 2 , z 2 ) and (x 3 , y 3 , z 3 ) correspond to the extremities of the second one. In the formulas above there is a variable t, which is a factor occurring in the integral from Equation (6). Therefore several values need to be considered for t and then the integral needs to be computed using the trapezoidal method for values in the interval (0, 1) = [0.1, 0.2, 0.3 … 0.9].…”