Total radiation lengths along path

Hi,

I was wondering if there is in Geant4 a way to obtain the total radiation lengths along a straight line. As an example, if I have two layers of Cu and Al, the total radiation length will depend on the angle my path crosses them.
Could you please help me?

Thank you,
Best regards,
Andrea