simpleSlices method
Returns a List of BezierSlice
instances containing simple Bezier
instances along with their endpoint parameter values from this. In
cases where no simple subcurves can be found with the given stepSize
,
returns an empty List.
Refer to simpleSubcurves for information about the optional parameter stepSize
.
If endpoint parameter values of the component curves are not needed, use simpleSubcurves
instead.
Implementation
List<BezierSlice> simpleSlices({double stepSize = 0.01}) {
final subcurvesBetweenExtrema = _slicesBetweenExtremaTValues();
return _divideNonSimpleSlices(subcurvesBetweenExtrema, stepSize);
}