TPolyLine DistancetoPrimitive method

From: Dmitri Litvintsev (litvinse@cdfsga.fnal.gov)
Date: Fri Aug 20 1999 - 22:56:41 MEST


Hi Rootters, 

I see that:

/______________________________________________________________________________
 Int_t TPolyLine::DistancetoPrimitive(Int_t, Int_t)
{
//*-*-*-*-*-*-*-*-*Compute distance from point px,py to a polyline*-*-*-*-*-*
//*-*              ===============================================
//  Compute the closest distance of approach from point px,py to each segment
//  of the polyline.
//  Returns when the distance found is below DistanceMaximum.
//  The distance is computed in pixels units.
//
   return 9999;
}

TPolyLine's DistancetoPrimitives always returns big number. 
Was it supposed to be like this or simple omission?


Dmitri Litvintsev

/----------------------------------------------------------\
| Tel:       (630) 840 3763                                |  
| FAX:       (630) 840 2968                                |      
| office:    164-O CDF Trailers                            |
| E-mail:    litvinse@fnal.gov                             |
\----------------------------------------------------------/



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