def getLargestInsetLoopFromLoopRegardless(loop, radius):
 global globalDecreasingRadiusMultipliers
 for decreasingRadiusMultiplier in globalDecreasingRadiusMultipliers:
  decreasingRadius = (radius * decreasingRadiusMultiplier)
  largestInsetLoop = getLargestInsetLoopFromLoop(loop, decreasingRadius)
  if (len(largestInsetLoop) > 0):
   return largestInsetLoop
 print 'Warning, there should always be a largestInsetLoop in getLargestInsetLoopFromLoopRegardless in intercircle.'
 print loop
 return loop

def getLargestInsetLoopFromLoopRegardless ( loop , radius ) : global globalDecreasingRadiusMultipliers for decreasingRadiusMultiplier in globalDecreasingRadiusMultipliers : decreasingRadius = ( radius * decreasingRadiusMultiplier ) largestInsetLoop = getLargestInsetLoopFromLoop ( loop , decreasingRadius ) if ( len ( largestInsetLoop ) > 0 ) : return largestInsetLoop print 'Warning, there should always be a largestInsetLoop in getLargestInsetLoopFromLoopRegardless in intercircle.' print loop return loop
get the largest inset loop from the loop .