def addLoopByComplex(derivation, endMultiplier, loopLists, path, pointComplex, vertexes):
 loops = loopLists[(-1)]
 loop = []
 loops.append(loop)
 for point in path:
  pointMinusBegin = (point - derivation.axisStart)
  dotVector3 = derivation.axisProjectiveSpace.getDotVector3(pointMinusBegin)
  dotVector3Complex = dotVector3.dropAxis()
  dotPointComplex = (pointComplex * dotVector3Complex)
  dotPoint = Vector3(dotPointComplex.real, dotPointComplex.imag, dotVector3.z)
  projectedVector3 = (derivation.axisProjectiveSpace.getVector3ByPoint(dotPoint) + derivation.axisStart)
  loop.append(projectedVector3)

def addLoopByComplex ( derivation , endMultiplier , loopLists , path , pointComplex , vertexes ) : loops = loopLists [ ( - 1 ) ] loop = [ ] loops . append ( loop ) for point in path : pointMinusBegin = ( point - derivation . axisStart ) dotVector3 = derivation . axisProjectiveSpace . getDotVector3 ( pointMinusBegin ) dotVector3Complex = dotVector3 . dropAxis ( ) dotPointComplex = ( pointComplex * dotVector3Complex ) dotPoint = Vector3 ( dotPointComplex . real , dotPointComplex . imag , dotVector3 . z ) projectedVector3 = ( derivation . axisProjectiveSpace . getVector3ByPoint ( dotPoint ) + derivation . axisStart ) loop . append ( projectedVector3 )
add an indexed loop to the vertexes .