TTUBE::SetNumberOfDivisions bug?

From: William J. Deninger (deninger@uiuc.edu)
Date: Sat Jan 10 1998 - 18:49:29 MET


Hello,

A simple curiosity,

ptube6 = new TTUBS("ptube6","ptube6","vacuum", (7.11-0.05)/0.0254,
(7.11+0.05)/.0254, 0.05/0.0254, 80, 170);
 rot = new TRotMatrix("rot1","rot1",90,0,90,90,0,0);
 Node1 = new TNode("node1","node1","ptube6",0,0,0,"rot1");
 Node1.Draw()

works great as one would expect.  But....

ptube6 = new TTUBS("ptube6","ptube6","vacuum", (7.11-0.05)/0.0254,
(7.11+0.05)/.0254, 0.05/0.0254, 80, 170);

ptube6->SetNumberOfDivisions(40); // <---- this line added
rot = new TRotMatrix("rot1","rot1",90,0,90,90,0,0);
 Node1 = new TNode("node1","node1","ptube6",0,0,0,"rot1");
 Node1.Draw();

does not.  In fact, the above the second results in a rather interesting
explosion of lines on my canvas when included with a much larger geometry.

On a tangential yet related note, should I be posting these possible bug
reports to the roottalk list, or is there a more appropriate direction?

William J Deninger



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:29 MET