#include <Functors.h>
Public Member Functions | |
| void | operator() (TObject *x) |
|
|
Definition at line 27 of file Functors.h. 00027 {
00028 // Do not draw poly lines if they have no points. Otherwise ROOT crashes
00029 if (dynamic_cast<TPolyLine*>(x)) {
00030 if (dynamic_cast<TPolyLine*>(x)->GetN() < 2) return;
00031 }
00032 else if (dynamic_cast<TPolyLine3D*>(x)) {
00033 if (dynamic_cast<TPolyLine3D*>(x)->GetN() < 2) return;
00034 }
00035
00036 x->Draw();
00037 }
|
1.3.9.1