TH2 Projection on arbitrary axis

Hi

Is there an easy way to project a TH2 on an arbitrary axis (not X, or Y), defined for example by a TLine ?

From an existing 2D histogram the answer is no.
The indirect way would to use a TTree or a TNtuple from the beginning.