add triangle struct and change interaction.h (add function is_line_crossing_triangle)