add function in interaction.h (is_point_in_polygon)