A noniterative method for robustly computing the intersections between a line and a curve or surface

Xiao Xiao, Laurent Busé, Fehmi Cirak · DOI

Abstract

The need to compute the intersections between a line and a high‐order curve or surface arises in a large number of finite element applications. Such intersection problems are easy to formulate but hard to solve robustly. We introduce a noniterative method for computing intersections by solving a matrix singular value decomposition and an eigenvalue problem. That is, all intersection points and their parametric coordinates are determined in one‐shot using only standard linear algebra techniques available in most software libraries. As a result, the introduced technique is far more robust than the widely used Newton‐Raphson iteration or its variants. The maximum size of the considered matrices depends on the polynomial degree q of the shape functions and is 2 q × 3 q for curves and 6 q 2 × 8 q 2 for surfaces. The method has its origin in algebraic geometry and has here been considerably simplified with a view to widely used high‐order finite elements. In addition, the method is derived from a purely linear algebra perspective without resorting to algebraic geometry terminology.

Introduction

In computational mechanics and finite element analysis (FEA), determining the intersection of a line with a curved surface is a fundamental task. As engineering simulations increasingly adopt high-order elements to better represent complex geometries, the robustness of these intersection calculations becomes critical. Traditionally, the Newton-Raphson iteration has been the standard tool. However, it suffers from significant drawbacks: it is highly sensitive to the initial guess and often fails to identify multiple intersection points, potentially missing critical contact or boundary conditions. This paper presents a deterministic, "one-shot" alternative that finds all intersection points simultaneously without requiring an initial guess.

Methodology: Moving Lines and Planes

The proposed method bridges algebraic geometry and linear algebra by utilizing the concept of "moving lines" for curves and "moving planes" for surfaces. The process involves two primary steps:

  1. Implicitization via SVD: Instead of relying solely on parametric coordinates, the method identifies a set of moving lines that follow the curve. A matrix ($C_{kl}$) is constructed from the curve’s polynomial coefficients. Using Singular Value Decomposition (SVD), the right null vectors of this matrix are found, which define the moving lines.
  2. Generalized Eigenvalue Problem: The intersection of these moving lines with the target line is reframed as a generalized eigenvalue problem ($A - \xi B = 0$).
Moving lines defining quadratic (left) and cubic (right) curves.

The eigenvalues ($\xi$) of the resulting matrix represent the parametric coordinates of the intersection points on the line, while the corresponding eigenvectors provide the coordinates on the curve or surface. This approach leverages standard, highly optimized linear algebra libraries like LAPACK.

Key Insights and Results

A major advantage of this method is its ability to discover all intersection points simultaneously. While iterative solvers find one root at a time, the eigenvalue solver returns all potential intersections defined by the algebraic degree of the problem.

Intersection points identified using the noniterative one-shot method.

Key findings include:

  • Efficiency: Matrix sizes remain manageable, scaling with the polynomial degree $q$ ($2q \times 3q$ for curves).
  • Robustness: By eliminating the need for initial guesses, the method is ideal for automated processes like mesh generation and contact mechanics.
  • Basis Independence: The algorithm is effective for various polynomial bases (Lagrange, Bézier, Bernstein) once converted to a power basis.
  • Fictitious Points: Any "fictitious" points generated by the matrix operations are easily filtered by verifying if they lie on the actual curve segment.

Conclusion and Future Work

The noniterative method offers a robust, library-ready alternative to traditional iterative solvers. While highly effective, future work may address "degenerate" cases where the eigenvalue problem becomes ill-conditioned. Additionally, preconditioning techniques could further enhance accuracy for extremely high-order polynomials. The full implementation is available via the NITRO project, facilitating immediate integration into existing FEA software.

Summary updated

BibTeX
@article{xiao2019noniterative,
  author = {Xiao Xiao and Laurent Busé and Fehmi Cirak},
  title = {{A noniterative method for robustly computing the intersections between a line and a curve or surface}},
  journal = {International Journal for Numerical Methods in Engineering},
  year = {2019},
  doi = {10.1002/nme.6136},
}
Figure