def getMaximumSpan(loop):
 extent = (getMaximumByPathComplex(loop) - getMinimumByPathComplex(loop))
 return max(extent.real, extent.imag)

def getMaximumSpan ( loop ) : extent = ( getMaximumByPathComplex ( loop ) - getMinimumByPathComplex ( loop ) ) return max ( extent . real , extent . imag )
get the maximum span of the loop .