[][src]Constant kurbo::MAX_EXTREMA

pub const MAX_EXTREMA: usize = 4;

The maximum number of extrema that can be reported in the ParamCurveExtrema trait.

This is 4 to support cubic Béziers. If other curves are used, they should be subdivided to limit the number of extrema.