

def getSliceLimits(self, tMin, tMax):
    result = SliceLimits()
    xMin = 0
    xMax = 0
    yMin = 0
    yMax = 0
    tmp = 0
    tmp = math.cos(tMin)
    xMin = min(xMin, tmp)
    xMax = max(xMax, tmp)
    tmp = math.sin(tMin)
    yMin = min(yMin, xMin)
    yMax = max(yMax, tmp)
    tmp = math.cos(tMax)
    xMin = min(xMin, tmp)
    xMax = max(xMax, tmp)
    tmp = math.sin(tMax)
    yMin = min(yMin, tmp)
    yMax = max(yMax, tmp)
    halfPi = (math.pi / 2.0)
    i = int(math.ceil((tMin / halfPi)))
    while ((i * halfPi) < tMax):
        t = (i * halfPi)
        tmp = math.cos(t)
        xMin = min(xMin, tmp)
        xMax = max(xMax, tmp)
        tmp = math.sin(t)
        yMin = min(yMin, tmp)
        yMax = max(yMax, tmp)
        i += 1
    result.xMin = xMin
    result.xMax = xMax
    result.yMin = yMin
    result.yMax = yMax
    return result

dataset/ETHPy150Open anandology/pyjamas/library/gwt/chart/SymbolType.py PieSliceSymbolType.getSliceLimits/VarMisuse@82/102 `tmp`->`xMin`