def getSquareLoopWiddershins(beginComplex, endComplex):
 loop = [beginComplex, complex(endComplex.real, beginComplex.imag), endComplex]
 loop.append(complex(beginComplex.real, endComplex.imag))
 return loop

def getSquareLoopWiddershins ( beginComplex , endComplex ) : loop = [ beginComplex , complex ( endComplex . real , beginComplex . imag ) , endComplex ] loop . append ( complex ( beginComplex . real , endComplex . imag ) ) return loop
get a square loop from the beginning to the end and back .