Re: Method SetPoints of class TTRAP
Rene Brun (Rene.Brun@cern.ch)
Fri, 16 Oct 1998 10:15:51 +0200
GENTIT Francois-Xavier DAPNIA wrote:
>
> To the authors of ROOT,
> I think there is an error in the method SetPoints of the class TTRAP.
> TTRAP requires, among other parameters, the parameter alpha2, which is
> not used in the method SetPoints (which is impossible).
> Here is the original code of the method SetPoints, with indication of
> the problem.
>
You are right. The current implementation of TTrap::SetPoints
assumes alpha2=0.
We implemented this shape to provide a minimal support for
a Geant3 shape ill-defined. This shape can create non-planar surfaces.
I will implement the code to support the case where both alpha1
and alpha2 are non zero.
Rene Brun