mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 21:17:48 +00:00
measured_arclen returned kurbo's arc length unchecked. For a quadratic segment whose three points coincide, kurbo 0.13.1's QuadBez::arclen multiplies 0 by infinity and returns NaN. measured_arclen now returns 0 when the measurement is not finite, the same value it gives a segment it does not measure. Finite results are unchanged.