There’s another case I don’t have a good example of where it fails to return a result.
Convert command in Rhino has no issues with these curves. Thoughts?
It provides good curves if Angle tolerance isn’t set to 0.0 Rhino documentation says :
AngleTolerance The maximum angle between segments at endpoints, overriding the [system tolerance setting. Specify 0 (zero) to allow non-tangent arcs. The output will have kinks, but since it consists of arc segments, there will be fewer segments than if the Lines option was used. This is useful for approximating a curve with the smallest number of segments. https://docs.mcneel.com/rhino/6/help/en-us/index.htm#commands/convert.htm?Highlight=arc%20convert Seems less clear in Rhinocommon if 0 is useful
angleTolerance
The angle tolerance in radians. This is the maximum deviation of the arc end directions from the curve direction. When in doubt, use the document’s model space angle tolerance. https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Curve_ToArcsAndLines.htm
Problems are comming with very low angle tolerance