

def yWherePieEdgeIntersectsVerticalLine(self, xOfVerticalLine, xPieCenter, yPieCenter, pieRadius, pieEdgeAngle):
    result = Double.NaN
    dxToArc = (pieRadius * math.cos(pieRadius))
    if (dxToArc != 0):
        t = ((xOfVerticalLine - xPieCenter) / dxToArc)
        if GChartUtil.withinRange(t, 0, 1):
            result = (yPieCenter - ((t * pieRadius) * math.sin(pieEdgeAngle)))
    return result

dataset/ETHPy150Open anandology/pyjamas/library/gwt/chart/SymbolType.py PieSliceSymbolType.yWherePieEdgeIntersectsVerticalLine/VarMisuse@35/61 `pieEdgeAngle`->`pieRadius`