constTVector<FReal, d >& StartPoint,constTVector<FReal, d >& Dir,constTVector<FReal, d >& InvDir,const bool* bParallel,constFRealLength,constFRealInvLength,FReal& OutTime,TVector<FReal, d >& OutPosition)