original_docstring: Compute the intersection over union(iou) with another OBB
  
          : param other: another OBB.
          
docstring: Compute the intersection over union(iou) with another OBB
docstring_tokens: Compute the intersection over union ( iou ) with another OBB
code: def iou(self, other):
          """Compute the intersection over union(iou) with another OBB
  
          : param other: another OBB.
          """
          shape = self.shape()
          other = other.shape()
          result = shape.intersection(other).area / other.union(shape).area
          return result
code_tokens: def iou ( self , other ) : shape = self . shape ( ) other = other . shape ( ) result = shape . intersection ( other ) . area / other . union ( shape ) . area return result
short_docstring: Compute the intersection over union(iou) with another OBB
short_docstring_tokens: Compute the intersection over union ( iou ) with another OBB
comment: """Compute the intersection over union(iou) with another OBB
  
          : param other: another OBB.
          """