fix getPointOnCut for non-zero elevation