Trying to Blend surface C#

Sure, so the function I made is making the gold surface that is connecting the quadrilateral and the triangle and BlendSrf is making the black wavy lines.
If I were to check “Position” on both of the options, Surface Blend would give me the same thing as the object my function produces.

All that my code is doing is passing in the two breps, finding which edges on each respective brep are closest to one another, and then using “Brep blendSrf = Brep.CreateEdgeSurface(edges);” to make a brep. The only thing I want to be able to do is have those different options that Surface Blend has, aka tangency, curvature, g3, and g4 to be able to adjust this output as needed.

Thanks for your replies too lol