for obtaining tube intersection profiles