“…It should be noted that this issue is an extension of the problem of fitting a straight line in two‐dimensional space, presented in Schaffrin et al (2006) and Schaffrin (2007). Another way of fitting a straight line in a three‐dimensional space, by using the principles of the total least‐squares method, has been presented in Guo et al (2017). In a classical approach, defining a straight line in three‐dimensional space, with a parametric form (for ):is performed by using three parameters that determine the position of the point on the line as a = [ a x , a y , a z ] T , and by three parameters defining the orientation of the line in this space as b = [ b x , b y , b z ] T .…”