def getInBetweenLoopsFromLoops(loops, radius):
 inBetweenLoops = []
 for loop in loops:
  inBetweenLoop = []
  for pointIndex in xrange(len(loop)):
   pointBegin = loop[pointIndex]
   pointEnd = loop[((pointIndex + 1) % len(loop))]
   intercircle.addPointsFromSegment(pointBegin, pointEnd, inBetweenLoop, radius)
  inBetweenLoops.append(inBetweenLoop)
 return inBetweenLoops

def getInBetweenLoopsFromLoops ( loops , radius ) : inBetweenLoops = [ ] for loop in loops : inBetweenLoop = [ ] for pointIndex in xrange ( len ( loop ) ) : pointBegin = loop [ pointIndex ] pointEnd = loop [ ( ( pointIndex + 1 ) % len ( loop ) ) ] intercircle . addPointsFromSegment ( pointBegin , pointEnd , inBetweenLoop , radius ) inBetweenLoops . append ( inBetweenLoop ) return inBetweenLoops
get the in between loops from loops .