Try:
#if defined(__MAKECINT__) || defined(__ROOTCLING__)
#pragma link C++ nestedclass;
#pragma link C++ nestedtypedef;
#pragma link C++ namespace AGeoUtil;
#pragma link C++ defined_in namespace AGeoUtil;
#pragma link C++ function AGeoUtil::MakePointToPointBBox(const char*, const TVector3&, const TVector3&, Double_t, Double_t, TGeoBBox**, TGeoCombiTrans**);
#pragma link C++ function AGeoUtil::MakePointToPointTube(const char*, const TVector3&, const TVector3&, Double_t, TGeoTube**, TGeoCombiTrans**);
#endif /* defined(__MAKECINT__) || defined(__ROOTCLING__) */
BTW. I think you could completely remove: NamespaceImp(AGeoUtil)