Re: Method SetPoints of class TTRAP

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Oct 16 1998 - 10:15:51 MEST


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



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