origin, const Point& dir = origin)Creates a
Line, settingpositionto pos, anddirectionto dir. If this function is called with no arguments, it creates aLineat theoriginwith no direction.Point p(2, 1, 2); Point d(-3, 3, 3.5); Line L0(p, d); Line L1 = p.get_line(d);
![]()
Fig. 104.