def addYIntersectionPathToList(pathIndex, pointIndex, y, yIntersection, yIntersectionPaths):
 if (yIntersection == None):
  return
 yIntersectionPath = YIntersectionPath(pathIndex, pointIndex, yIntersection)
 yIntersectionPath.yMinusCenter = (yIntersection - y)
 yIntersectionPaths.append(yIntersectionPath)

def addYIntersectionPathToList ( pathIndex , pointIndex , y , yIntersection , yIntersectionPaths ) : if ( yIntersection == None ) : return yIntersectionPath = YIntersectionPath ( pathIndex , pointIndex , yIntersection ) yIntersectionPath . yMinusCenter = ( yIntersection - y ) yIntersectionPaths . append ( yIntersectionPath )
add the y intersection path to the y intersection paths .