Hi Ian,
what you want is the class TCutG
http://root.cern.ch/root/htmldoc/TCutG.html
Cheers
Otto
On Fri, 27 Jun 2003, Ian Gable wrote:
> Hi All,
>
> Given a TPolyLine I would like to determine if a point is contained in
> the polyline. In other words, is the point inside the area filled when
> TPolyLine::Draw("f") is called.
>
> I was wondering if there was an easy way to do this with Root?
> Presumably the code exists for this because it's already possible to
> fill a TPolyLine. I would be grateful for any help.
>
> I'm using ROOT 3.05/05 on RH 7.3
>
> Thanks,
>
> Ian Gable
>
--
Otto Schaile Sektion Physik, LMU Muenchen
Phone: +49 89 289 14070 Am Coulombwall 1, D-85748 Garching, Germany
GSM: +49 160 1553598
FAX: +49 89 289 14072 EMail: Otto.Schaile@Physik.Uni-Muenchen.DE
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET