On Self-Intersections of Cubic Bézier Curves
<p>Cubic Bernstein basis functions and a cubic Bézier curve.</p> "> Figure 2
<p>Comparison of cubic Bézier curves with and without self-intersection.</p> "> Figure 3
<p>Two-dimensional and three-dimensional cubic Bézier curves exhibiting no self-intersection.</p> "> Figure 4
<p>Illustrative examples of bijective cubic Bézier curves while the bijectivity conditions are not satisfied, based on criteria established in [<a href="#B12-mathematics-12-00882" class="html-bibr">12</a>,<a href="#B13-mathematics-12-00882" class="html-bibr">13</a>]. (<b>a</b>) Exceeding sum of tangent angles <math display="inline"><semantics> <mrow> <mrow> <mo>|</mo> </mrow> <msub> <mi>α</mi> <mn>1</mn> </msub> <mrow> <mo>|</mo> <mo>+</mo> <mo>|</mo> </mrow> <msub> <mi>α</mi> <mn>2</mn> </msub> <mrow> <mo>|</mo> <mo>></mo> <mi>π</mi> </mrow> </mrow> </semantics></math> in [<a href="#B12-mathematics-12-00882" class="html-bibr">12</a>], indicating potential self-intersections. (<b>b</b>) Non-well-posed control points configurations in [<a href="#B13-mathematics-12-00882" class="html-bibr">13</a>], indicating potential self-intersections.</p> "> Figure 5
<p>Two-dimensional (in the first row, <b>a</b>–<b>c</b>) and three-dimensional (in the second row, <b>d</b>–<b>f</b>) cubic Bézier curves demonstrating self-intersection.</p> "> Figure 6
<p>Histogram illustrating the average computation times for detecting self-intersections in 2D and 3D cubic Bézier curves.</p> ">
Abstract
:1. Introduction
2. Methodology
2.1. Cubic Bernstein Basis Functions and Bézier Curves
2.2. Cubic Bézier Curves with Collinear Control Points
2.3. Cubic Bézier Curves with Non-Collinear Control Points
Algorithm 1: Computing Self-Intersections in Cubic Bézier Curves |
3. Numerical Experiments
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Farin, G. Curves and Surfaces for CAGD: A Practical Guide, 4th ed.; Academic Press: Orlando, FL, USA, 1996. [Google Scholar]
- Hoschek, J.; Lasser, D. Fundamentals of Computer Aided Geometric Design; AK Peters: Wellesley, MA, USA, 1993. [Google Scholar]
- Patrikalakis, N.M.; Maekawa, T. Shape Interrogation for Computer Aided Design and Manufacturing; Springer: Berlin/Heidelberg, Germany, 2002; Volume 15. [Google Scholar]
- Hoffmann, C.M. Geometric and Solid Modeling; Morgan Kaufmann: Burlington, MA, USA, 1989. [Google Scholar]
- Barnhill, R.E.; Kersey, S.N. A marching method for parametric surface/surface intersection. Comput. Aided Geom. Des. 1990, 7, 257–280. [Google Scholar] [CrossRef]
- Su, B.Q.; Liu, D.Y. An affine invariant and its application in computational geometry. Sci. Sin. (Ser. A) 1983, 24, 259–267. [Google Scholar]
- Ye, Z.L. Shape classification of planar B-spline cubic curves. In Proceedings of the Xi’an Proceedings of the Sino-German CAD/CAM Conference, Xi’an, China, 6–9 October 1987; pp. 188–196. [Google Scholar]
- Ye, Z.L.; Wang, J.Y. The location of singular and inflection points for planar cubic B-spline curves. J. Comput. Technol. 1992, 7, 6–11. [Google Scholar] [CrossRef]
- Ye, Z.L.; Wu, R.J. Analysis of inflection and singular points on planar C-Bézier curves. Math. Numer. Sin. 2005, 27, 63–70. [Google Scholar]
- Wu, H.Y.; Bai, L. Detection and manipulation of singular and inflection points on planar F-Bézier curves. Numer. Math. J. Chin. Univ. 2008, 30, 213–226. [Google Scholar]
- Zhang, J.W.; Krause, F.L.; Zhang, H.Y. Unifying C-curves and H-curves by extending the calculation to complex numbers. Comput. Aided Geom. Des. 2005, 22, 865–883. [Google Scholar] [CrossRef]
- Lasser, D. Calculating the self-intersections of Bézier curves. Comput. Ind. 1989, 12, 259–268. [Google Scholar] [CrossRef]
- Zhu, C.; Zhao, X. Self-intersections of rational Bézier curves. Graph. Model. 2014, 76, 312–320. [Google Scholar] [CrossRef]
- Zhao, X.; Zhu, C. Injectivity conditions of rational Bézier surfaces. Comput. Graph. 2015, 51, 17–25. [Google Scholar] [CrossRef]
- Yu, Y.Y.; Ji, Y.; Zhu, C.G. An improved algorithm for checking the injectivity of 2D toric surface patches. Comput. Math. Appl. 2020, 79, 2973–2986. [Google Scholar] [CrossRef]
- Yu, Y.Y.; Ji, Y.; Li, J.G.; Zhu, C.G. Conditions for injectivity of toric volumes with arbitrary positive weights. Comput. Graph. 2021, 97, 88–98. [Google Scholar] [CrossRef]
- Choi, Y.; Lee, S. Injectivity Conditions of 2D and 3D Uniform Cubic B-Spline Functions. Graph. Model. 2000, 62, 411–427. [Google Scholar] [CrossRef]
- Sottile, F.; Zhu, C.G. Injectivity of 2D Toric Bézier Patches. In Proceedings of the 2011 12th International Conference on Computer-Aided Design and Computer Graphics, Jinan, China, 15–17 September 2011; pp. 235–238. [Google Scholar]
- Ji, Y.; Yu, Y.Y.; Wang, M.Y.; Zhu, C.G. Constructing high-quality planar NURBS parameterization for isogeometric analysis by adjustment control points and weights. J. Comput. Appl. Math. 2021, 396, 113615. [Google Scholar] [CrossRef]
- Pekerman, D.; Elber, G.; Kim, M.S. Self-intersection detection and elimination in freeform curves and surfaces. Comput. Aided Des. 2008, 40, 150–159. [Google Scholar] [CrossRef]
- Elber, G.; Grandine, T.; Kim, M.S. Surface self-intersection computation via algebraic decomposition. Comput. Aided Des. 2009, 41, 1060–1066. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Yu, Y.-Y.; Li, X.; Ji, Y. On Self-Intersections of Cubic Bézier Curves. Mathematics 2024, 12, 882. https://doi.org/10.3390/math12060882
Yu Y-Y, Li X, Ji Y. On Self-Intersections of Cubic Bézier Curves. Mathematics. 2024; 12(6):882. https://doi.org/10.3390/math12060882
Chicago/Turabian StyleYu, Ying-Ying, Xin Li, and Ye Ji. 2024. "On Self-Intersections of Cubic Bézier Curves" Mathematics 12, no. 6: 882. https://doi.org/10.3390/math12060882
APA StyleYu, Y.-Y., Li, X., & Ji, Y. (2024). On Self-Intersections of Cubic Bézier Curves. Mathematics, 12(6), 882. https://doi.org/10.3390/math12060882