Yes, my suggestion was just if you only care about the visual aspect. It would not provide any information about the intersection point of the line and a side of the cube. I don't know what your particular need is, so if it was only a visual aspect, then that might work.
Anyway, its interesting, I'd like to help if you give me more details =)
