Converting a Rational Function to a Standard NURBS Representation

Chandrajit Bajaj, Guoliang XuPurdue 1993

Introduction

In the field of geometric modeling, Non-Uniform Rational B-splines (NURBS) serve as the industry standard for representing complex curves and surfaces. However, for a NURBS representation to be robust in engineering applications, it must ideally be in a "standard" form where all weights—the coefficients of the denominator polynomial—are positive.

Positive weights are critical for two primary reasons:

  1. The Convex Hull Property: They guarantee that the curve remains within the region defined by its control points, making intersection calculations and user interaction predictable.
  2. Avoiding Singularities: They ensure the denominator never reaches zero, preventing the curve from approaching infinity (poles) within the parameter range.

This paper introduces a robust algorithm to convert any smooth rational function into this standard NURBS representation through strategic subdivision.

Methodology: BB Transformation and Strategic Subdivision

The proposed conversion process involves two main stages: the Bernstein-Bézier (BB) transformation and an iterative subdivision algorithm.

Bernstein-Bézier Transformation

The initial step converts the rational function into its Bernstein-Bézier representation. This form is widely used in Computer-Aided Geometric Design (CAGD) because it expresses polynomials in terms of Bernstein basis functions, which are inherently linked to the geometric properties of the curve.

Strategic Subdivision Algorithm

If the resulting Bernstein coefficients are not all positive, the algorithm proceeds to subdivide the interval. The core innovation lies in using the roots of the function's derivatives as breakpoints. The authors prove that by partitioning the curve at these specific points, the polynomial's behavior is constrained, eventually leading to a state where all coefficients are both positive and monotonic.

Visualization of the subdivision process showing the relationship between the rational curve and its control polygon.

This subdivision ensures that the "standard" representation avoids extremely small weights, which can otherwise cause numerical instability in downstream CAD/CAM operations like intersection calculations.

Results and Theoretical Bounds

The paper establishes a concrete mathematical upper bound for the number of segments required to achieve a standard representation. For a rational curve of degree $n$, the maximum number of segments $\ell$ is given by: $$\ell \leq \frac{n(n - 1)}{2}$$

While the theoretical maximum for a degree-5 curve is 10 segments, practical evaluations demonstrate high efficiency. In a synthetic example featuring a complex degree-5 denominator with initial negative coefficients, the algorithm successfully achieved a standard NURBS representation in only two segments. This suggests that the method is highly performant for the types of curves typically encountered in high-end industrial design.

Discussion and Limitations

While the algorithm provides a guaranteed path to standard NURBS for curves, several areas remain for future exploration:

  • Dimensionality: The current work focuses on 1D rational functions. Extending this specific subdivision logic to 2D rational patches (surfaces) is a necessary next step for full CAD integration.
  • Pole-Free Assumption: The method assumes the function is smooth and contains no poles (zeros in the denominator) within the target interval. Functions with singularities would require pre-processing to isolate or remove the poles before conversion.
  • Numerical Stability: Although the theory is robust, the practical implementation depends on the precision of root-finding for high-degree derivatives.

Conclusion

By bridging the gap between abstract rational functions and the practical requirements of engineering software, this algorithm ensures that geometric models remain predictable and numerically stable. The use of derivative-based subdivision provides a mathematically sound guarantee of termination, making it a reliable tool for standardizing NURBS data.

Summary updated

BibTeX
@inproceedings{bajaj1993converting,
  author = {Chandrajit Bajaj and Guoliang Xu},
  title = {{Converting a Rational Function to a Standard NURBS Representation}},
  booktitle = {Purdue},
  year = {1993},
}
Figure