Joint Bernstein certification preserves curvature monotonicity in repeated quintic Bézier editing
Figures
Abstract
Repeated curvature-constrained editing requires simultaneous control movements to remain admissible under a fixed displacement budget. We construct joint neighborhoods for planar quintic Bézier curves with fixed endpoint positions and first derivatives. Interval Bernstein bounds certify regularity and nonzero, strictly monotone curvature throughout a four-coordinate control box; subsequent edits are accepted by membership. The analysis characterizes whole-box displacement through four extremal polynomials, gives an explicit sufficient neighborhood radius, and proves that refresh preserves the total distance from the original curve. All 197 selected repairs in an 800-curve benchmark admit independently verified neighborhoods. Products of individually admissible coordinate ranges contain exact violations in 86 cases, establishing the need to account for simultaneous movement. Fixed-center and cumulative workloads each contain 1,210,368 requests, with identical direct and cached decisions. At the smallest movement scales, total speedups are 3.46 and 1.80, including construction and refresh; larger cumulative steps incur overhead. An analytic-airfoil study certifies 224 of 720 arc-length-fitted segments and identifies 64 boundary exclusions. Joint certification thus provides reusable geometric guarantees for local editing, with computational benefit governed by movement scale and reuse length.
Citation: Han X (2026) Joint Bernstein certification preserves curvature monotonicity in repeated quintic Bézier editing. PLoS One 21(12): e0364279. https://doi.org/10.1371/journal.pone.0364279
Editor: Xingyu Wang, Jiangsu University of Science and Technology, CHINA
Received: July 27, 2026; Accepted: November 23, 2026; Published: December 4, 2026
Copyright: © 2026 Xi‘an Han. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All data underlying the findings are supplied in S1 Data, including control polygons, boxes, exact checks, fitting diagnostics, request decisions and raw timings. S1 File contains the complete source and dependency manifest under the BSD 3-Clause license.
Funding: Funding sources were the Special Fund Project of Jiangxi Institute of Fashion Technology (Grant No. JFZX-202519) and the University-Level Scientific Research Project of Jiangxi Institute of Fashion Technology (Grant Nos. JF-LX-202501 and JF-LX-202503) and Education Research Projectsfor Private University Faculty(Grant Nos. ZXKT202628). The funders had no role in study design,data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Curvature-constrained editing must preserve shape across a sequence of control-point changes. When several controls move together, their admissible ranges interact. When the acceptance region is refreshed, the edited curve must also remain within the total tolerance of the original geometry. These requirements make repeated editing a problem of certifying a joint set of control polygons.
Computer-aided geometric design (CAGD) offers several routes to curvature control. Typical and Class-A Bézier curves impose control-polygon structure [1–3]; target-curvature fairing, Pythagorean-hodograph (PH) transitions and Euler Bézier or B-spline spirals construct fair geometry under their respective boundary conditions [4–6]. Curvature-monotonicity evaluation functions (CMEFs) express the differential constraint in polynomial form [7]. Recent work has developed control-point regions for planar polynomial and rational curves [8,9], iterative region searches [10], and spatial-curve visualization [11]. These studies make admissible control placement an explicit part of curve design.
Published single-control regions hold the remaining controls fixed. Iterative searches therefore update the region after a control moves [10]. Repeated simultaneous editing requires a region in the full free-coordinate space, coupled to one original-reference displacement budget. For quintics with endpoint positions and first derivatives fixed, this space has four Cartesian coordinates. Certifying them jointly makes every member of the region admissible before an individual edit is proposed.
We construct such neighborhoods using Bernstein range bounds and interval arithmetic [12–15]. Differential margins yield a computable sufficient radius; four extremal displacement polynomials characterize the whole-box distance. Retaining the original reference during refresh then preserves the budget throughout an edit sequence. A reuse-cost condition connects these guarantees to computational benefit. The numerical studies examine coordinate interaction, matched candidate searches, repeated-edit costs and boundary-constrained airfoil fits.
Materials and methods
Differential constraints
For a planar Bézier curve , , define
(1)(2)where . Signed curvature and its arc-length derivative satisfy [7]
(3)The target is G > 0, and on the closed interval, with prescribed . These uniformly strict signs ensure regularity, nonzero curvature and strict monotonicity of curvature; the derivative of curvature magnitude has sign .
Joint neighborhoods and displacement
Fixing quintic controls preserves endpoint positions and first derivatives. A box varies only the coordinates of , with . Its boundary controls equal those of the original polygon P. Write
Proposition 1.
For , set for and for . Then
(4)The four squared-norm polynomials have degree at most 10.
Proof. At each t, the displacements fill a coordinate rectangle because Bernstein weights are nonnegative. Its maximum squared norm occurs at one of the four corners represented by . Maximizing over t gives Eq (4).
Proposition 2.
If P,Q differ only at controls 2 and 3, then
(5)with sharp constant 5/8.
Proof. The bound follows from . Equal control displacements attain equality at t = 1/2.
The corresponding whole-box bound is
(6)It bounds the total displacement from P, including the shift to the center R.
Theorem 1. If interval Bernstein bounds certify G > 0, and on , and , every box member preserves the fixed endpoint data, is regular with nonzero, strictly monotone signed curvature and curvature magnitude, and satisfies .
Proof. Interval inclusion gives the differential signs for every member. Eq (3) gives the curvature properties, and Proposition 2 gives the displacement bound. Fixed boundary controls preserve the endpoint data. □
Neighborhood radius
At an admissible center R, let g,d,m > 0 be lower bounds for , and let , k = 1,2,3. For perturbation radius r, set a1 = 10r, a2 = 60r, a3 = 360r and
(7)(8)(9)Proposition 3.
If , and , every perturbation with preserves the differential target. If also
(10)it preserves the displacement budget. These guarantees hold on a box with , i = 2,3.
Proof. Derivative control polygons bound the first three derivative perturbations by . Bilinear and product-difference bounds then give (S1 Appendix S1). The strict margins preserve the signs; Proposition 2 and the triangle inequality give Eq (10). □
The error bounds vanish as . Strict differential and budget margins therefore yield a positive radius by halving. Direct interval verification supplies the expanded boxes used in the editing experiments; the radius and four-envelope constructions are evaluated independently.
Certification and refresh
Interval Bernstein products enclose G,D,M over the full control box. Parameter subdivision resolves inconclusive coefficient signs; unresolved tests stop at depth 14. Outward rounding encloses all arithmetic. S1 Appendix S2 specifies the degree representations and independent exact-rational checks.
Construction contracts a seed box until certification succeeds, then expands it uniformly and by coordinate-wise (adaptive) updates. Each accepted expansion passes the full-box tests. Membership accepts later requests inside the stored bounds; requests outside them undergo full differential and, where prescribed, displacement tests. Refresh constructs a new neighborhood around an accepted curve while retaining the original reference and budget (Fig 1).
A verified neighborhood accepts simultaneous edits by membership; requests outside it undergo full verification. Rejection retains the current curve. Cumulative editing refreshes after 32 accepted misses while preserving the original reference and total displacement budget.
Corollary 1.
If each accepted request either belongs to a box satisfying Theorem 1 or passes the same full tests, with fixed , every accepted state preserves the endpoint data, differential target and original-reference displacement budget, including after refresh.
Proof. Both acceptance routes establish the same conditions. Rejection retains the state and refresh retains the reference and constraints, so induction on requests gives the result.
Candidate searches
The deterministic benchmark contains 800 quintics from five families at two perturbation levels. A seven-path structured search moves controls 2 and 3 with fixed boundary data. All 197 selected repairs form the neighborhood cohort; three initially admissible curves are reported separately. This study has no displacement cap. We compare seed, uniform and coordinate-wise-expanded box volumes. The interaction test expands each coordinate range with the others fixed, then tests their product jointly. Exact endpoint violations identify inadmissible products.
Matched searches use 49 initially uncertified curves, common endpoint data, a 5%-of-chord displacement cap and the same final verifier. The generators are structured paths, Cartesian Nelder–Mead optimization, and a quintic adaptation of the CMEF coefficient-region criterion [9] with iterative single-control grid search [10]. The baseline uses a grid and three alternating sweeps. Sensitivity tests cross grid side lengths 9, 17 and 33 with 1, 3 and 6 sweeps, and vary Cartesian iteration/evaluation limits across 60/175, 120/350 and 240/700. S1 Appendix S3 and S7 give the objectives, schedules and evaluation counts.
Repeated editing
Fixed-center editing evaluates 2048 deterministic requests around each of 197 centers at amplitudes 10–4, and of endpoint chord. Requests are independent of box dimensions. Both routes test the same differential target without a displacement cap; the cached route uses membership and verifies misses. Prefix lengths of 128, 512 and 2048 measure reuse. Timings exclude shared request generation; total speedup includes initial construction.
Cumulative editing adds each proposed increment to the last accepted controls, using chord-normalized step scales 10–6, 10–5 and 10–4. Each center defines one fixed original reference and sign branch for a 2048-request sequence. Both routes enforce a 0.5%-of-chord total displacement budget. Rejection retains the current curve. The cached route attempts refresh after 32 accepted misses; unsuccessful refresh retains the existing box. Timings include initial construction, every refresh attempt, request generation and state updates. Decisions and accepted states are compared bit-for-bit. S1 Appendix S5 and S8 specify the request sequences and timing protocol.
Airfoil fitting
The National Advisory Committee for Aeronautics (NACA) four-digit construction [16] defines 90 analytic profiles. Four degree-8 Bézier segments fit each surface with C2 join constraints, giving 720 segments. Cosine sampling and approximately uniform arc-length sampling fit the same surfaces. The latter resamples a 20,001-point reference to 201 fitting points. Analytic curvature uses , a regular parameter at the leading edge.
Repair moves controls 3–5 while fixing the first and last three controls, preserving endpoint first and second derivatives. Zero endpoint speed or curvature, opposite curvature signs, or equal curvature magnitudes exclude the strict target. Accepted edits satisfy a control-hull displacement bound of 0.5% of unit chord. Sampled fitting residuals and endpoint-curvature errors measure source approximation; continuous displacement bounds constrain the edits.
Validation and cost
Independent exact-rational interval arithmetic verifies accepted boxes and airfoil edits from their stored binary64 controls, including fixed boundary data and prescribed displacement bounds. It also checks sensitivity outputs, cumulative caches and final states. Results summarize deterministic cohorts. Generation timings use three repeats per curve with warmed kernels and one linear-algebra thread. Reuse ratios pool per-sequence medians from three paired repetitions; cumulative route order alternates between repeats.
Let denote initial construction cost, total refresh cost, total membership cost, and full-verification cost for request k. For membership hits , reuse reduces verification cost when
(11)With constant full-test and membership costs , hit fraction p and no refresh, the break-even length is when . Paired timings include route overhead and construction costs.
Results
Joint neighborhoods and coordinate interaction
Three benchmark curves satisfy the target initially. Among the remaining 797, the local path repairs 146 and the seven-path search repairs 197 (24.7%); 600 remain unresolved. Fig 2 shows two accepted repairs and their curvature profiles.
(A,B) Trial 1 and (C,D) trial 319: original and accepted curves with their signed-curvature profiles. Endpoint positions and first derivatives are fixed.
All 197 repair centers admit independently verified joint boxes. Uniform and adaptive expansion increase median volume over the seed by factors 3.57 and 3.92; the median adaptive-to-uniform ratio is 1.031. Median minimum and maximum coordinate half-widths are and of chord (Fig 3).
(A) Cumulative distributions of uniform and adaptive volume gains over the seed. (B) Independently expanded coordinate ranges and joint half-widths for trial 1.
All 788 individually expanded coordinate ranges pass exact verification. Their 197 products remain uncertified by the joint interval test: 86 contain 413 exact endpoint-violating vertices, while 111 remain unresolved. The combined movement in Fig 4 lies within individually admissible ranges but violates the differential target.
(A) Center and combined perturbation; (B) arc-length curvature derivatives. The combined vertex lies in the product of individually certified ranges and has an exact endpoint sign violation.
The sufficient-radius construction passes all 228 exact checks: 197 centers with a self-reference 0.5%-of-chord budget and 31 matched-search outputs with their original 5% budget. Median normalized radii are and , respectively. On the 31 matched boxes, subdivided four-envelope bounds pass every budget check and have a median ratio of 0.610 to the support bound (S1 Appendix S11). These analytical diagnostics leave the timed construction and acceptance rules unchanged.
Candidate coverage
Under the common 5%-of-chord budget, structured, Cartesian and CMEF-region searches accept 9, 15 and 7 of 49 curves; their union covers 16 (Table 1; Fig 5). All 31 accepted outputs admit within-budget joint boxes and pass exact checks.
(A) Accepted counts; (B) median generation and verification time. All methods use the same boundary data, displacement cap and final verifier.
CMEF acceptance ranges from 6 to 9 across nine grid/sweep settings, with median time 0.0049–0.480 s (Table 2). Cartesian acceptance is 10, 15 and 13 as the limits increase; median times are 0.129, 0.275 and 0.495 s. Median coefficient-scoring counts range from 90 to 9516, and Cartesian objective evaluations from 1257 to 4899. All 103 accepted sensitivity outputs pass exact checks (Fig 6).
(A) CMEF-region acceptance across grid sizes and sweep counts. (B) Cartesian acceptance and median time across optimization limits. All settings use the same cohort, boundary data, budget and final verifier.
Repeated-edit costs
For fixed-center editing at amplitude 10–4 of chord and 2048 requests, membership accepts 86.6% of requests. Online speedup is 6.03 and total speedup is 3.46. At amplitudes and , total speedups are 1.38 and 0.93. Direct and cached decisions agree on all 1,210,368 requests (Fig 7).
(A) Membership hit fraction; (B) online speedup; (C) total speedup, including construction. Three amplitudes and three prefix lengths are shown. Dotted lines mark equal cost.
Cumulative routes agree on all 1,210,368 decisions and accepted states. All 13,772 caches and 591 final states pass independent exact checks. Total speedups are 1.80, 0.31 and 0.27 at the three step scales, including construction and refresh (Table 3; Fig 8).
(A) Acceptance and membership rates; (B) total speedup with all construction costs included. Requests update the last accepted curve under an unchanged original-reference budget. The dotted line marks equal cost.
Airfoil fitting and boundary constraints
Cosine fitting yields 203 accepted segments: 67 initially and 136 after repair. Arc-length fitting yields 224 (31.1%): 35 initially and 189 after repair. Opposite endpoint curvature signs exclude 152 cosine-fitted and 64 arc-length-fitted segments exactly. The remaining unresolved counts are 365 and 432 (Fig 9).
(A) Analytic NACA 2412 profile, arc-length fit and accepted edits. (B) Accepted, boundary-excluded and unresolved counts for each sampling, with denominator 720. Exclusions concern the stored fitted endpoint data.
Arc-length sampling raises the minimum fitted endpoint speed from to 0.250 and reduces maximum absolute endpoint curvature from to 55.4. Median endpoint-curvature error falls from 0.106 to 0.0745 (Fig 10). Median sampled root-mean-square (RMS) fitting residual rises from to of chord; maximum sampled residual rises from to .
(A) Trailing-edge curvature of a representative segment; (B) endpoint-curvature error distributions over 720 fits per sampling. Errors are measured against the analytic profile.
All 224 accepted arc-length-fitted segments pass exact differential and displacement checks. Stored joins have zero positional gap, with first-derivative, second-derivative and curvature gaps below , and .
Discussion
Joint certification converts differential constraints and a total displacement budget into a reusable acceptance set. The exact displacement characterization accounts for every box member, while the margin-based radius quantifies how far the free controls can move without changing the differential signs. Keeping the original reference during refresh extends this set guarantee to cumulative editing. The numerical checks verify both the analytical constructions and the expanded neighborhoods.
The 86 exact coordinate-product counterexamples identify the interaction that a joint certificate must capture. Recent CMEF-region methods address admissible single-control placement and recompute regions as controls move [9,10]. Certifying the full four-coordinate box covers simultaneous movement in one acceptance test. Its axis-aligned geometry gives a local inner approximation whose size depends on the coordinate frame and differential margins. The four-envelope audit reduces the median displacement upper bound to 61.0% of the support bound on the matched boxes, indicating scope for tighter budget-limited neighborhoods.
Candidate generation determines how often this acceptance set can be constructed. The structured search repairs 197 of 797 eligible curves, and the matched generator union covers 16 of 49. These outcomes delimit search coverage; every selected center supports a verified neighborhood. Class-A, PH and Euler-spiral constructions offer further center-generation routes when their boundary and representation conditions match the editing task. The coefficient-region comparator evaluates the documented quintic adaptation under the common endpoint data and budget.
Reuse drives the computational benefit. Adaptive expansion adds a median 3.1% volume over uniform expansion. Small movements remain inside the certified set often enough to repay construction and refresh, as expressed by Eq (11). Larger cumulative steps reduce membership hits and produce net overhead. Measured hit rates and verification costs therefore provide a basis for selecting refresh frequency and deciding when to use a cache.
The airfoil study links boundary data to editability. Arc-length fitting improves endpoint differential conditioning while increasing sampled approximation residuals. With first and second derivatives fixed, opposite endpoint curvature signs exclude 64 segments from the strict target. The remaining 432 unresolved segments reflect the prescribed search and verification limits. Curvature conditioning, source approximation and certified edit displacement consequently require separate assessment.
The analysis applies to planar quintic segments with fixed endpoint positions and first derivatives; the airfoil extension fixes second derivatives of degree-8 segments. Uniformly strict differential signs exclude constant curvature and isolated zero curvature derivatives. Exact arithmetic and unrestricted subdivision establish local verifiability (S1 Appendix S1); finite precision, depth and search limits delimit the numerical procedure. Extending joint regions to rational or spatial curves [9,11] and coupled spline joins requires the corresponding differential and boundary constraints.
Conclusion
Joint Bernstein certification preserves curvature monotonicity and total displacement during simultaneous quintic editing. Four extremal polynomials characterize whole-box distance, differential margins give a computable sufficient radius, and original-reference refresh preserves the budget across accepted edits. These results make admissibility a reusable property of a control set.
The experiments verify 197 repair neighborhoods and 86 coordinate-interaction counterexamples. Total speedups of 3.46 and 1.80 support local repeated editing; cumulative values of 0.31 and 0.27 at larger steps define its measured cost boundary. The airfoil study certifies 224 of 720 segments and identifies 64 exact boundary exclusions. The method serves small repeated changes around admissible centers under fixed endpoint data. Broader center generation, cost-guided refresh and joint regions for coupled spline segments are the next steps.
Supporting information
S1 Data. Row-level results, control polygons and boxes, exact checks, request decisions, fitting diagnostics and timing metadata.
https://doi.org/10.1371/journal.pone.0364279.s001
(ZIP)
S1 File. Complete numerical and figure source, dependency manifest and BSD 3-Clause license.
https://doi.org/10.1371/journal.pone.0364279.s002
(ZIP)
S1 Appendix. Supplementary proofs, constructive-radius and displacement-envelope analyses, search schedules, interval arithmetic and experimental protocols.
https://doi.org/10.1371/journal.pone.0364279.s003
(PDF)
References
- 1. Mineur Y, Lichah T, Castelain JM, Giaume H. A shape controled fitting method for Bézier curves. Computer Aided Geometric Design. 1998;15(9):879–91.
- 2. Farin G. Class A Bézier curves. Comput Aided Geom Des. 2006;23(7):573–81.
- 3. Wang A, He C, Song Y, Zhao G. 2D Bézier curves with monotone curvature based on Class A matrices. Computer Aided Geometric Design. 2024;110:102279.
- 4. Li W, Xu S, Zheng J, Zhao G. Target curvature driven fairing algorithm for planar cubic B-spline curves. Comp Aided Geomet Design. 2004;21(5):499–513.
- 5. Farouki RT. Pythagorean-hodograph quintic transition curves of monotone curvature. Computer-Aided Design. 1997;29(9):601–6.
- 6. Yang X. Euler Bézier spirals and Euler B-spline spirals. Comp Aided Geometric Design. 2024;112:102361.
- 7. Saito T, Yoshida N. Curvature monotonicity evaluation functions on rational Bézier curves. Comput Graph. 2023;114:219–28.
- 8. Yoshida N, Sakurai S, Yasuda H, Inoue T, Saito T. Visualization of the curvature monotonicity regions of polynomial curves and its application to curve design. CADandA. 2023;:75–87.
- 9. Yoshida N, Saito T. Curvature monotonicity regions of 2D polynomial and rational bézier curves as the intersection of implicit regions. Comp Aided Des Appl. 2024;68–80.
- 10.
Kamarudzaman A, Misro Y. Interactive and iterative curvature monotonicity search and region visualization of cubic bézier curve under limited hardware resources. In: CAD’25. 2025. https://doi.org/10.14733/cadconfp.2025.245-249
- 11. Yoshida N, Saito T. Visualization of curvature monotonicity regions of 3D Bézier Curves in 2D and 3D. Comp Aided Des Appl. 2025;41–55.
- 12. Farouki RT, Rajan VT. Algorithms for polynomials in Bernstein form. Comp Aided Geom Design. 1988;5(1):1–26.
- 13. Sederberg TW, Farouki RT. Approximation by interval Bézier curves. IEEE Comput Graph Appl. 1992;12(5):87–95.
- 14.
Moore RE, Kearfott RB, Cloud MJ. Introduction to interval analysis. Philadelphia: Society for Industrial and Applied Mathematics; 2009. https://doi.org/10.1137/1.9780898717716
- 15. Rump SM. Verification methods: Rigorous results using floating-point arithmetic. Acta Numerica. 2010;19:287–449.
- 16.
Jacobs EN, Ward KE, Pinkerton RM. The characteristics of 78 related airfoil sections from tests in the variable-density wind tunnel. Washington, DC: National Advisory Committee for Aeronautics; 1933. https://ntrs.nasa.gov/citations/19930091108