def checkSmooth(firstAngle, lastAngle):
    if  firstAngle == None or lastAngle == None:
        return True
    error = 4
    firstAngle = degrees(firstAngle)
    lastAngle = degrees(lastAngle)

    if int(firstAngle) + error >= int(lastAngle) >= int(firstAngle) - error:
        return True
    return False
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/extras/outline.py/checkSmooth/original