pub fn segment_rect_intersection( seg: (Point, Point), rect: (Point, Point), ) -> bool
\return True if the segment intersects the rect.