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