code: def approx_equal(self, center, width, height, angle, tol=1e-6):
          "Method mainly useful for testing"
          return abs(self.cx - center[0]) < tol and abs(self.cy - center[1]) < tol and abs(self.width - width) < tol and \
                 abs(self.height - height) < tol and abs(self.angle - angle) < tof approx_equal(self, center, width, height, angle, tol=1e-6):
          "Method mainly useful for testing"
          return abs(self.cx - center[0]) < tol and abs(self.cy - center[1]) < tol and abs(self.width - width) < tol and \
                 abs(self.height - height) < tol and abs(self.angle - angle) < tol
docs: Method mainly useful for testing