and don't call point_on_border because that might be located on the border of the other geometry. This also avoids passing the mid_point boolean, and including within_code in ring_properties