This function checks if an obtacle is in the radiation path between two surface elements.
function checkObstacle input Real a1; input Real a2; input Real a3; input Real b1; input Real b2; input Real b3; input Real zk; output Boolean obstacle; end checkObstacle;