def getFrontOverWidthAddXListYList(front, loopLists, numberOfLines, xIntersectionIndexLists, width, yList):
 frontOverWidth = getFrontOverWidthAddYList(front, numberOfLines, xIntersectionIndexLists, width, yList)
 for loopListIndex in xrange(len(loopLists)):
  loopList = loopLists[loopListIndex]
  addXIntersectionIndexesFromLoops(frontOverWidth, loopList, loopListIndex, xIntersectionIndexLists, width, yList)
 return frontOverWidth

def getFrontOverWidthAddXListYList ( front , loopLists , numberOfLines , xIntersectionIndexLists , width , yList ) : frontOverWidth = getFrontOverWidthAddYList ( front , numberOfLines , xIntersectionIndexLists , width , yList ) for loopListIndex in xrange ( len ( loopLists ) ) : loopList = loopLists [ loopListIndex ] addXIntersectionIndexesFromLoops ( frontOverWidth , loopList , loopListIndex , xIntersectionIndexLists , width , yList ) return frontOverWidth
get the front over width and add the x intersection index lists and ylist .