(l1, d, l2)
return Triangle(p1, p2, p3)
Return triangle having side with length l2 on the x-axis.
Return triangle having side with length l2 on the x-axis.
Return triangle having side with length l2 on the x - axis .
def _sas(l1, d, l2):
    """Return triangle having side with length l2 on the x-axis."""
    p1 = Point(0, 0)
    p2 = Point(l2, 0)
    p3 = Point(cos(rad(d))*l1, sin(rad(d))*l1)
    return Triangle(p1, p2, p3)
def _sas ( l1 , d , l2 ) : p1 = Point ( 0 , 0 ) p2 = Point ( l2 , 0 ) p3 = Point ( cos ( rad ( d ) ) * l1 , sin ( rad ( d ) ) * l1 ) return Triangle ( p1 , p2 , p3 )