Fit points to circle C# and Grasshopper component


I would like to ask why the C# version of rhinocommon for fitting points to circle is more precise than Grasshopper component version?

Or why they differ? (7.2 KB)

Is the ‘TryFitCircleToPoints’ method new in R6? This is R5:


  1. Error (CS0117): ‘Rhino.Geometry.Circle’ does not contain a definition for ‘TryFitCircleToPoints’ (line 72)


As in RH5 there was no such function, in GH1 is achieved by intersecting the sphere approximation with the plane approximation of the points. RH6 seems to have specific logic to circle approximation.


Thanks it seems that this intersection gives certain tolerance issue