Make uniform the use of B-spline visible to users

Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source  comments unless they were 'doxygenated'.
No .xml files were altered either.
This commit is contained in:
luzpaz
2017-11-17 19:30:37 -05:00
parent 247166405f
commit cc87c20afe
16 changed files with 29 additions and 29 deletions

View File

@@ -369,7 +369,7 @@ GeomBSplineCurve* GeomCurve::toBSpline(double first, double last) const
Handle(Geom_Curve) c = Handle(Geom_Curve)::DownCast(handle());
Handle(Geom_BSplineCurve) spline = scc.ConvertToBSpline(c, first, last, Precision::Confusion());
if (spline.IsNull())
throw Base::RuntimeError("Conversion to B-Spline failed");
throw Base::RuntimeError("Conversion to B-spline failed");
return new GeomBSplineCurve(spline);
}