Bézier curves/Intersections: Difference between revisions
Content added Content deleted
(A new task for the font nerds and others.) |
(→{{header|D}}: A small tightening of the final answers. I don’t think there is actually any change in the printout.) |
||
Line 420: | Line 420: | ||
{ |
{ |
||
exclude = false; |
exclude = false; |
||
immutable xmin = |
immutable xmin = max (pxmin, qxmin); |
||
immutable xmax = |
immutable xmax = min (pxmax, qxmax); |
||
if (xmax - xmin <= tol) |
if (xmax - xmin <= tol) |
||
{ |
{ |
||
immutable ymin = |
immutable ymin = max (pymin, qymin); |
||
immutable ymax = |
immutable ymax = min (pymax, qymax); |
||
if (ymax - ymin <= tol) |
if (ymax - ymin <= tol) |
||
{ |
{ |