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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user