CIRCLE-INTERSECTION-BASED EQUAL-CHORD PARTITIONING ALGORITHM FOR A PLANAR PARAMETRIC CURVE

Authors

DOI:

https://doi.org/10.32782/mathematical-modelling/2026-9-1-39

Keywords:

pseudocode, iteration, computational complexity, partitioning, chord, parametric planar curve, segment, intersection equation

Abstract

This paper addresses the problem of equal-chord partitioning of planar parametric curves, which consists of determining a sequence of points on a curve such that the Euclidean distances (chords) between consecutive points are equal. Equal-chord discretization is important in computer-aided design, CNC machining, robotics, and computer graphics, as it provides stable geometric and technological properties compared to parameter-uniform or arc-lengthbased sampling. This work aims to develop efficient algorithms for equal-chord partitioning of planar parametric curves in the classical setting, i.e., with fixed endpoints and a prescribed number of segments, while explicitly accounting for the multivalued nature of solutions arising from curve–circle intersections. The proposed approach is based on successive intersections of the curve with a moving circle of fixed radius. Starting from one or both endpoints, the circle center is placed at the current partition point, and subsequent points are obtained as intersections between the curve and the circle in a specified direction. To handle non-convex curves and curves with inflection points, all possible intersection solutions are organized into a tree structure, where each branch represents an alternative partitioning trajectory. The optimal partition is selected by minimizing the difference between the residual segment length and the circle radius. Two strategies for determining the partitioning radius are investigated. The first relies on uniform redistribution of the residual chord-length error among all segments and is effective for convex curves with unique intersection solutions. The second formulates radius selection as a one-dimensional optimization problem and ensures robust convergence for curves of complex geometry. An experimental evaluation of planar Bézier curves of various orders demonstrates stable convergence of the proposed algorithms across a wide range of segment counts. As the number of segments increases, the multiplicity of curve–circle intersections decreases, and the computational complexity approaches linear behavior in practical scenarios. The proposed method avoids numerical arc-length integration and auxiliary grid-based approximations and can be naturally extended to spatial curves.

References

Shpitalni M., Koren Y., Lo C.C. Real-time curve interpolators. Computer-Aided Design. 1995. Vol. 26, № 11. P. 832–838. https://doi.org/10.1016/0010-4485(94)90097-3

Panagiotakis C., Tziritas G. Any dimension polygonal approximation based on equal errors principle. Pattern Recognition Letters. 2007. Vol. 28. P. 582–591. https://doi.org/10.1016/j.patrec.2006.10.005

Zhong W., Luo X., Chang W. A real-time interpolator for parametric curves. International Journal of Machine Tools and Manufacture. 2018. Vol. 125. P. 133–145. https://doi.org/10.1016/j.ijmachtools.2017.11.010

Wei J., Sun C., Zhang X. J., Wang E. J., Law D. An efficient and accurate interpolation method for parametric curve machining. Scientific Reports. 2022. Vol. 12, № 1. Art. 16000. https://doi.org/10.1038/s41598-022-20018-9

Han X. T., Zhu K. F., Wang X. B. A hash approach to refine CNC computation of arc length and parameter of NURBS with high efficiency and precision. International Journal of Precision Engineering and Manufacturing. 2024. Vol. 25. P. 1243–1256. https://doi.org/10.1007/s12541-024-00976-y

Chalkis A., Katsamaki C., Tonelli-Cueto J. On the error of random sampling uniformly distributed random points on parametric curves. Proceedings of the 2022 International Symposium on Symbolic and Algebraic Computation, ISSAC ’22 (05 July 2022 New York, United States). 2022. P. 273–282. https://doi.org/10.1145/3476446.3536190

Pagani L., Scott P.J. Curvature based sampling of curves and surfaces. Computer Aided Geometric Design. 2018. Vol. 59. P. 32–48. https://doi.org/10.1016/j.cagd.2017.11.004

Hernández-Mederos V., Estrada-Sarlabous J. Sampling points on regular parametric curves with control of their distribution. Computer Aided Geometric Design. 2003. Vol. 20, № 6. P. 363–382. https://doi.org/10.1016/S0167-8396(03)00079-7

Huang L., Cao Y., Peng R., Wei G. Adaptive sampling technique for free-form surface of aeroengine blades based on discrete curvature. International Journal of Precision Engineering and Manufacturing. 2025. Vol. 26. P. 325–344. https://doi.org/10.1007/s12541-024-01161-x

Firsov A. Study of the mathematical models of optimal partitioning for particular cases. Eastern-European Journal of Enterprise Technologies. 2018. Vol. 1, № 4(91). P. 69–76. https://doi.org/10.15587/1729-4061.2018.123261

Lopez M.A., Reisner S. A note on curves equipartition. arXiv. 2008. P. 1–3. https://doi.org/10.48550/arXiv.0707.4298

Panagiotakis C., Athanassopoulos K., Tziritas G. The equipartition of curves. Computational Geometry. 2009. Vol. 42, № 6–7. P. 677–689. https://doi.org/10.1016/j.comgeo.2009.01.003

Panagiotakis C. Fast equipartition of complex 2D shapes with minimal boundaries. Algorithms. 2025. Vol. 18, № 5. Art. 277. https://doi.org/10.3390/a18050277

Wang X.-R., Wang Z.-Q., He P., Lin T.-S. The high-energy micro-arc spark–computer numerical control deposition of planar NURBS curve coatings. International Journal of Advanced Manufacturing Technology. 2016. Vol. 87. P. 3325–3335. https://doi.org/10.1007/s00170-016-8698-x

Xu Y., Zhou Z. Polygons inscribed in Jordan curves with prescribed edge ratios. Topology and Its Applications. 2024. Vol. 354. Art. 108971. https://doi.org/10.1016/j.topol.2024.108971

Manivel M., Silva M., Thompson R. Iterative respacing of polygonal curves. SN Computer Science. 2022. Vol. 3. Art. 419. https://doi.org/10.1007/s42979-022-01343-2

Frolov O. Equipartition algorithm for a flat parametric curve based on the intersection between it and a moving circle. Cybernetics and Computer Technologies. 2025. № 1. P. 12–31. https://doi.org/10.34229/2707-451X.25.1.2

Theoretical and applied aspects of software engineering: architectural solutions, algorithmic methods and intelligent systems / I. Ushakova, O. Frolov, L. Znakhur, S. Znakhur, Yu. Chyrva. Kharkiv : S. Kuznets KhNEU, 2026. 223 p.

Divide. Rhinoceros 3D. URL: https://docs.mcneel.com/rhino/8/help/en-us/commands/divide.htm

The Julia Programming Language: Official site. URL : https://julialang.org/ (дата звернення : 02.03.2026).

Getting started with nonlinear root finding in Julia. URL: https://docs.sciml.ai/NonlinearSolve/stable/tutorials/getting_started/ (дата звернення : 28.02.2026).

IntervalRootFinding.jl. URL: https://juliaintervals.github.io/IntervalRootFinding.jl/v0.1/index.html (дата звернення : 18.02.2026).

Roots.jl. URL: https://juliamath.github.io/Roots.jl/stable/ (дата звернення : 22.02.2026).

BenchmarkTools.jl. URL: https://juliaci.github.io/BenchmarkTools.jl/stable/ (дата звернення : 03.03.2026).

Downloads

Published

2026-07-01