MbLine3D Straight Line
The MbLine3D class is declared in the cur_line_3d.h file.
The MbLine3D straight line is described by the start point MbCartPoint3D origin and the direction vector MbVector3D direction.
In the PointOn( double & t, MbCartPoint3D & r ) method, the radius vector r of the line is described by the vector function
\[\mathbf{r}(t) = \mathbf{origin} + t \cdot \mathbf{direction}.\]
The straight line behaves as an infinite object, although in its data it has boundary values of the parameter tmin and tmax. Note that, unlike other curves, in the methods for calculating the radius vector and its derivatives the line does not adjust the parameter t when it goes beyond the limiting values tmin and tmax.