Find intersection between two Line3

Thanks for the link! I did not see this before.

However, this seems to ignore the Z value. How can I retrieve the Z value for the intersection point as well?