def angle(self, other, add=90):
        #### returns the angle of the Line in degrees
        b = other.x - self.x
        a = other.y - self.y
        c = sqrt(a**2 + b**2)
        if c == 0:
            return None
        if add is None:
            return b/c
        cosAngle = degrees(acos(b/c))
        sinAngle = degrees(asin(a/c))
        if sinAngle < 0:
            cosAngle = 360 - cosAngle
        return radians(cosAngle + add)
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/extras/outline.py/MathPoint.angle/original