Abstract
This paper presents a new method for visualizing implicit real algebraic curves inside a bounding box in the 2-D or 3-D ambient space based on numerical continuation and critical point methods. The underlying techniques work also for tracing space curve in higher-dimensional space. Since the topology of a curve near a singular point of it is not numerically stable, the authors trace only the curve outside neighborhoods of singular points and replace each neighborhood simply by a point, which produces a polygonal approximation that is e-close to the curve. Such an approximation is more stable for defining the numerical connectedness of the complement of the projection of the curve in ℝ2, which is important for applications such as solving bi-parametric polynomial systems. The algorithm starts by computing three types of key points of the curve, namely the intersection of the curve with small spheres centered at singular points, regular critical points of every connected components of the curve, as well as intersection points of the curve with the given bounding box. It then traces the curve starting with and in the order of the above three types of points. This basic scheme is further enhanced by several optimizations, such as grouping singular points in natural clusters, tracing the curve by a try-and-resume strategy and handling “pseudo singular points”. The effectiveness of the algorithm is illustrated by numerous examples. This manuscript extends the proposed preliminary results that appeared in CASC 2018.
Similar content being viewed by others
References
Bresenham J, A linear algorithm for incremental digital display of circular arcs, Commun. ACM, 1977, 20(2): 100–106.
Chandler R, A tracking algorithm for implicitly defined curves, IEEE Comput. Graph. Appl., 1988, 8(2): 83–89.
Hong H, An efficient method for analyzing the topology of plane real algebraic curves, Mathematics and Computers in Simulation, 1996, 42(4): 571–582.
Lopes H, Oliveira J, and Figueiredo L, Robust adaptive polygonal approximation of implicit curves, Computers & Graphics, 2002, 26(6): 841–852.
Emeliyanenko P, Berberich E, and Sagraloff M, Visualizing arcs of implicit algebraic curves, exactly and fast, Advances in Visual Computing, 2009, 608–619.
Labs O, A list of challenges for real algebraic plane curve visualization software, Nonlinear Computational Geometry, 2010, 137–164.
Burr M, Choi S, Galehouse B, et al., Complete subdivision algorithms, II: Isotopic meshing of singular algebraic curves, Journal of Symbolic Computation, 2012, 47(2): 131–152.
Jin K, Cheng J, and Gao X, On the topology and visualization of plane algebraic curves, Proceedings of CASC, 2015, 245–259.
Daouda D, Mourrain B, and Ruatta O, On the computation of the topology of a non-reduced implicit space curve, Proceedings of ISSAC, 2018, 47–54.
Jin K and Cheng J, Isotopic epsilon-meshing of real algebraic space curves, Proceedings of SNC, 2014, 118–127.
Stussak C, On reliable visualization algorithms for real algebraic curves and surfaces, PhD thesis, Universitats- und Landesbibliothek Sachsen-Anhalt, Halle (Saale), 2013.
Cheng J, Lazard S, Penaranda L, et al., On the topology of real algebraic plane curves, Mathematics in Computer Science, 2010, 4(1): 113–137.
Seidel R and Wolpert N, On the exact computation of the topology of real algebraic curves, Proceedings of the Twenty-first Annual Symposium on Computational Geometry, 2005, 107–115.
Imbach R, Moroz G, and Pouget M, A certified numerical algorithm for the topology of resultant and discriminant curves, Journal of Symbolic Computation, 2017, 80: 285–306.
Gomes A, A continuation algorithm for planar implicit curves with singularities, Computers & Graphics, 2014, 38: 365–373.
Brake D, Bates D, Hao W, et al., Algorithm 976: Bertini_real: Numerical decomposition of real algebraic curves and surfaces, ACM Trans. Math. Softw., 2017, 44(1): 10:1–10:30.
Collins G, Quantifier elimination for real closed fields by cylindrical algebraic decompostion, Automata Theory and Formal Languages, 2nd GI Conference, 1975, 134–183.
Rouillier F, Roy M, and Safey El Din M, Finding at least one point in each connected component of a real algebraic set defined by a single equation, Journal of Complexity, 2000, 16(4): 716–750.
Chen C, Davenport J, May J, et al., Triangular decomposition of semi-algebraic systems, J. Symb. Comp., 2013, 49: 3–26.
Hauenstein J, Numerically computing real points on algebraic sets, Acta Applicandae Mathematicae, 2012, 125(1): 105–119.
Wu W, Reid G, and Feng Y, Computing real witness points of positive dimensional polynomial systems, Theoretical Computer Science, 2017, 681: 217–231.
Wu W, Chen C, and Reid G, Penalty function based critical point approach to compute real witness solution points of polynomial systems, Proceeding of CASC, 2017, 377–391.
Blum L, Cucker F, Shub M, et al., Complexity and Real Computation, Springer-Verlag, New York, 1998.
Beltrán C and Leykin A, Robust certified numerical homotopy tracking, Foundations of Computational Mathematics, 2013, 13(2): 253–295.
Martin B, Goldsztejn A, Granvilliers L, et al., Certified parallelotope continuation for one-manifolds, SIAM Journal on Numerical Analysis, 2013, 51(6): 3373–3401.
Yu Y, Yu B, and Dong B, Robust continuation methods for tracing solution curves of parameterized systems, Numerical Algorithms, 2014, 65(4): 825–841.
Bajaj C and Xu G, Piecewise rational approximations of real algebraic curves, Journal of Computational Mathematics, 1977, 15(1): 55–71.
Leykin A, Verschelde J, and Zhao A, Newton’s method with deflation for isolated singularities of polynomial systems, Theoretical Computer Science, 2006, 359(1): 111–122.
Chen C, Wu W, and Feng Y, Full rank representation of real algebraic sets and applications, Proceeding of CASC, 2017, 51–65.
Chen C and Wu W, A numerical method for computing border curves of bi-parametric real polynomial systems and applications, Proceeding of CASC, 2016, 156–171.
Chen C and Wu W, A numerical method for analyzing the stability of bi-parametric biological systems, Proceeding of SYNASC, 2016, 91–98.
Yang L and Xia B, Real solution classifications of a class of parametric semi-algebraic systems, Proceeding of A3L, 2005, 281–289.
Lazard D and Rouillier F, Solving parametric polynomial systems, J. Symb. Comput., 2007, 42(6): 636–667.
Bennett H, Papadopoulou E, and Yap C, Planar minimization diagrams via subdivision with applications to anisotropic voronoi diagrams, Eurographics Symposium on Geometry Processing, 2016, 35(5): 229–247.
Chen C and Wu W, A continuation method for visualizing planar real algebraic curves with singularities, Proceeding of CASC, 2018, 99–115.
Wu W and Reid G, Finding points on real solution components and applications to differential polynomial systems, Proceeding of ISSAC, 2013, 339–346.
Stewart G, Perturbation theory for the singular value decomposition, SVD and Signal Processing, II: Algorithms, Analysis and Applications, 1990, 99–109.
Shen F, Wu W, and Xia B, Real root isolation of polynomial equations based on hybrid computation, Proceeding of ASCM, 2012, 375–396.
Lee T, Li T, and Tsai C, Hom4ps-2.0: A software package for solving polynomial systems by the polyhedral homotopy continuation method, Computing, 2008, 83(2): 109–133.
Duzhin S and Weisstein E, Ordinary double point, From MathWorld — A Wolfram Web Resource, http://mathworld.wolfram.com/OrdinaryDoublePoint.html.
Acknowledgements
The authors would like to thank Chee K. Yap for many valuable suggestions, Michael Monagan for his advice on usage of Plots:-implicitplot, and anonymous referees for helpful suggestions and comments.
Author information
Authors and Affiliations
Corresponding author
Additional information
This research was supported by the National Natural Science Foundation of China under Grant Nos. 11771421, 11671377, 61572024, CAS “Light of West China” Program, cstc2018jcyj-yszxX0002 of Chongqing and the Key Research Program of Frontier Sciences of CAS under Grant No. QYZDB-SSW-SYS026.
This paper was recommended for publication by Editor LI Hongbo.
Rights and permissions
About this article
Cite this article
Chen, C., Wu, W. & Feng, Y. Visualizing Planar and Space Implicit Real Algebraic Curves with Singularities. J Syst Sci Complex 33, 1252–1274 (2020). https://doi.org/10.1007/s11424-020-8380-0
Received:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11424-020-8380-0