def addAlreadyFilledArounds(alreadyFilledArounds, loop, radius):
 radius = abs(radius)
 alreadyFilledLoop = []
 slightlyGreaterThanRadius = (1.01 * radius)
 muchGreaterThanRadius = (2.5 * radius)
 centers = intercircle.getCentersFromLoop(loop, slightlyGreaterThanRadius)
 for center in centers:
  alreadyFilledInset = intercircle.getSimplifiedInsetFromClockwiseLoop(center, radius)
  if intercircle.isLargeSameDirection(alreadyFilledInset, center, radius):
   alreadyFilledLoop.append(alreadyFilledInset)
 if (len(alreadyFilledLoop) > 0):
  alreadyFilledArounds.append(alreadyFilledLoop)

def addAlreadyFilledArounds ( alreadyFilledArounds , loop , radius ) : radius = abs ( radius ) alreadyFilledLoop = [ ] slightlyGreaterThanRadius = ( 1.01 * radius ) muchGreaterThanRadius = ( 2.5 * radius ) centers = intercircle . getCentersFromLoop ( loop , slightlyGreaterThanRadius ) for center in centers : alreadyFilledInset = intercircle . getSimplifiedInsetFromClockwiseLoop ( center , radius ) if intercircle . isLargeSameDirection ( alreadyFilledInset , center , radius ) : alreadyFilledLoop . append ( alreadyFilledInset ) if ( len ( alreadyFilledLoop ) > 0 ) : alreadyFilledArounds . append ( alreadyFilledLoop )
add already filled loops around loop to alreadyfilledarounds .