yes pretty much, and some extra things so that it never returns a 3rd side londer than the sum of the other sides, and never returns a 3rd side shorter than the longest of the 2nd sides minus the other non 3rd side. also, you have to factor in that the solving formula gives you angles in terms of relativity to other sides, so youll get 60 with a triangle with = sides, instead of getting 60,120 and 180.
i think construct should have a triangle solving function, like it has for lerp, qarp, and Cubic
something like SidesTri(a,b,c,X) (one for when you have all sides) and one like AngleTri(A,B,C,x)
abc are the input values (known side lengths, or known angles) and x is the value you want to know (A,B or C, which will return to you said angle/side depending on what formula you used)