Finding Intersections of Algebraic curves in a Convex Region using Encasement

We present a subdivision based technique for finding the intersections of two algebraic curves inside a convex region. Even though it avoids computing resultants, the technique is guaranteed to find all intersections with bounded backwards error. The subdivision, called an encasement, also encodes the arrangement structure of the curves. We implement the encasement algorithm using adaptive precision interval arithmetic. We compare its performance to the CGAL library implementation of resultant based curve intersection techniques. We provide CPU and CPU/GPU versions of the algorithm and implementation. On the CPU, encasement generates all curve intersections, to accuracy 10−8, 10 to 30 times faster than CGAL for degrees 8 to 18, and it handles degrees up to 20 that CGAL cannot handle. The GPU speeds up the calculation by a factor of 3 to 4.

[1]  Benoit Jubin A generalized Poincar\'e-Hopf index theorem , 2009 .

[2]  Kurt Mehlhorn,et al.  Effective Computational Geometry for Curves and Surfaces , 2005 .

[3]  Joseph G. Masterjohn Encasement: A Robust Method for Finding Intersections of Semi-algebraic Curves , 2017 .

[4]  Bert Jüttler,et al.  Computing roots of polynomials by quadratic clipping , 2007, Comput. Aided Geom. Des..

[5]  Michael Bartoň Solving polynomial systems using no-root elimination blending schemes , 2011, Comput. Aided Des..

[6]  Cong Wang,et al.  On soft predicates in subdivision motion planning , 2013, SoCG '13.

[7]  Bert Jüttler,et al.  A Quadratic Clipping Step with Superquadratic Convergence for Bivariate Polynomial Systems , 2011, Math. Comput. Sci..

[8]  Gershon Elber,et al.  Topologically guaranteed univariate solutions of underconstrained polynomial systems via no-loop and single-component tests , 2010, SPM '10.

[9]  Gershon Elber,et al.  Subdivision termination criteria in subdivision multivariate solvers using dual hyperplanes representations , 2007, Comput. Aided Des..

[10]  Vincent Lefèvre,et al.  MPFR: A multiple-precision binary floating-point library with correct rounding , 2007, TOMS.

[11]  Dan Halperin,et al.  CGAL Arrangements and Their Applications - A Step-by-Step Guide , 2012, Geometry and Computing.

[12]  Bernard Mourrain,et al.  Subdivision methods for solving polynomial equations , 2009, J. Symb. Comput..

[13]  Kurt Mehlhorn,et al.  A deterministic algorithm for isolating real roots of a real polynomial , 2011, J. Symb. Comput..

[14]  Ramon E. Moore Methods and applications of interval analysis , 1979, SIAM studies in applied mathematics.