(r1, r2)
return ptdist(rectcenter(r1), rectcenter(r2))
Return the distance between centers of rectangles <r1> and <r2>
Return the distance between centers of rectangles <r1> and <r2>
Return the distance between centers of rectangles <r1 > and <r2 >
def rectcenter_dist(r1, r2):
    """Return the distance between centers of rectangles <r1> and <r2>"""
    return ptdist(rectcenter(r1), rectcenter(r2))
def rectcenter_dist ( r1 , r2 ) : return ptdist ( rectcenter ( r1 ) , rectcenter ( r2 ) )