def setIsOutside(yCloseToCenterPath, yIntersectionPaths):
 beforeClose = (yCloseToCenterPath.yMinusCenter < 0.0)
 for yIntersectionPath in yIntersectionPaths:
  if (yIntersectionPath != yCloseToCenterPath):
   beforePath = (yIntersectionPath.yMinusCenter < 0.0)
   if (beforeClose == beforePath):
    yCloseToCenterPath.isOutside = False
    return
 yCloseToCenterPath.isOutside = True

def setIsOutside ( yCloseToCenterPath , yIntersectionPaths ) : beforeClose = ( yCloseToCenterPath . yMinusCenter < 0.0 ) for yIntersectionPath in yIntersectionPaths : if ( yIntersectionPath != yCloseToCenterPath ) : beforePath = ( yIntersectionPath . yMinusCenter < 0.0 ) if ( beforeClose == beforePath ) : yCloseToCenterPath . isOutside = False return yCloseToCenterPath . isOutside = True
determine if the yclosetocenterpath is outside .