Circle Tangent to three curves

You can use NodeInCode to exactly generate same result as grasshopper components:

private void RunScript(Curve a, Curve b, Curve c, Point3d p, ref object A)
{
    var cttt = Rhino.NodeInCode.Components.FindComponent("CircleTanTanTan");
    if(cttt == null) return;
    var cttt_function = (System.Func<object,object,object,object,object>) cttt.Delegate;
    A = cttt_function(a, b, c, p);
}


CircleTanTanTan.gh (14.0 KB)

3 Likes