pub fn rectangle_intersection_area(a: Rect2d, b: Rect2d) -> Result<f64>
Finds out if there is any intersection between two rectangles
mainly useful for language bindings
the area of the intersection