self .bbox = (x0, y0, x1, y1). return. def is_hoverlap( self , obj):. assert isinstance (obj, LTItem). return obj.x0 < = self .x1 and self .x0 < = obj.x1.
確定! 回上一頁