Re: TTUBE::SetNumberOfDivisions bug?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jan 12 1998 - 08:49:12 MET


William J. Deninger wrote:

> 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?

Thanks for reporting this feature.
The number of divisions (used to draw the tube only) cannot be more than 20.
This problem is now fixed in our development version.

Rene Brun



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