TTUBE::SetNumberOfDivisions bug?

William J. Deninger (deninger@uiuc.edu)
Sat, 10 Jan 1998 11:49:29 -0600


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