Currently the command only returns entry points, however not exit points.
Would be useful to determine how much of a line is submerged in a surface.
Currently it can be done by executing lineIntersectsSurfaces twice, once from the front and once from the back, however adding it as a parameter to the command would be neater.