- TKDInterpolator();
- TKDInterpolator(TTree *t, const Char_t *var, const Char_t *cut = 0, UInt_t bsize = 100);
- TKDInterpolator(Int_t npoints, Int_t ndim, UInt_t bsize, Float_t **data);
- ~TKDInterpolator();
-
- TKDTreeIF* GetHelper() {return fKDhelper;}
- inline Bool_t GetCOGPoint(Int_t node, Float_t *coord, Float_t &val, Float_t &error) const ;
- inline Bool_t GetDataPoint(Int_t n, Float_t *p) const;
- Double_t Eval(const Double_t *point, Int_t npoints = 12);
- void DrawNodes(UInt_t ax1 = 0, UInt_t ax2 = 1, Int_t depth = -1);
- void DrawNode(Int_t tnode, UInt_t ax1 = 0, UInt_t ax2 = 1);
+ TKDInterpolator();
+ TKDInterpolator(Int_t ndim, Int_t npoints=0);
+ ~TKDInterpolator();
+ void AddNode(const TKDNodeInfo &ref);
+ Bool_t Build(Int_t ndim) {return TKDInterpolatorBase::Build(ndim);}
+ Bool_t Build(Int_t npoints, Int_t ndim);
+ Int_t GetNodeIndex(const Float_t *p);
+ Bool_t SetNode(Int_t i, const TKDNodeInfo &ref);