#### 10.9.24 rotLine

• rotLine( <3D line>, <Axis>, [, closed(0/1), angleMin, angleMax, angleNbpoints] )
• Description: that macro returns in the form of fecets, the surface obtained by turning around the <Axis>, the <3D line>, That must not contain the constant jump. The argument <Axis> is a straight line of the space determined by a list [3D point, 3D direction vector]. By default <angleMin>=$-\pi$, <angleMax>=$\pi$, and <angleNbpoints>=25. The argument <closed> shows if the <3D line> has to be closed or not ($0$ by default).

 \begin{texgraph}[name=rotLine, export=pgf]   view(-2,3.5,-3,3.5),Marges(0,0,0,0),   size(7.5), viewDir(55,60),   L:=[M(0,3,0), M(-0.5,2.5,0),       M(-1,3,0), M(-1,2,0), M(0,2,0)],   P:=rotLine(L,[Origin, vecI],1,0,2*pi,35),   DrawFacet(P,[color:=coral])   \end{texgraph}

rotLine