arXiv:2610.34702cs.CEOct 2026

Manuscript Offprint

arXiv:2610.34702

Faster Polyhedral Intersections in 3D

Joseph Donato, Daniel Shevitz, Rao Garimella

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The operation of intersecting two polyhedra, which can be reduced to clipping one polyhedron with a series of planes formed from another polyhedron, is central to intersection based mesh interpolation and material interface reconstruction. R3D is a robust library for such operation which implements the algorithm of Sugihara. In this paper, we present J3D, a new implementation of the clipping algorithm of Sugihara that provides substantial performance improvements over R3D.

Keywords: Polyhedral clipping, Computational physics, Algorithms, Data structures

1 Introduction

In the implementation of fluid simulations, especially when shocks are involved, the Arbitrary Lagrangian Eulerian (ALE) method is heavily relied upon to reliably simulate flows [3, 13]. At a high level, the ALE method operates as follows. First, the mesh is deformed with the fluid until it is no longer viable. Then, to continue the simulation, the fields of the deformed mesh are conservatively interpolated onto a higher quality mesh and the simulation continues. A commonly used method to conservatively interpolate the field values from a source mesh to a target mesh is intersection based remap [10]. In this procedure, each cell of the target mesh is intersected with cells of the source mesh, and the resulting moments of intersection are used as weights in the interpolation of source cell values onto the target cell. Intersecting two polyedra reduces to the problem of assuming that one of them is convex and intersecting the planes of the convex polyhedron with the other. Another operation commonly operation found in ALE simulations is material interface reconstruction [4, 9, 15, 11]. In interface reconstruction, the volume fractions and, possibly centroids, of materials in a cell must be used to recover the geometry of the interfaces between the materials. This is done by repeatedly clipping the polyhedron with a plane to find the optimal material geometry. As suggested from the descriptions of the two aforementioned procedures, intersecting a polyhedron with a plane is fundamental. In fact, while polyhedral intersection is typically a very small algorithm within the context of a larger ALE method, it has significant performance impacts. This is exacerbated by the fact that as the mesh deforms in ALE, the faces of a polyhedron may no longer be planar. To resolve this, faces of a polyhedron are “facetized” which adds to the problem complexity. That is, the faces of one polyhedron are decomposed into triangular faces by adding a point in the center of each face and joining it with each of the edges making up the original face.

*jdonato@lanl.gov

†^{\dagger}danny.shevitz@yahoo.com

‡^{\ddagger}rao@lanl.gov

Figure

Figure

Figure 1: A hexahedra (left) and the same hexahedra after being facetized into triangular faces (right).

Now, given the importance of clipping a polyhedron efficiently, the focus of this paper will be just that. We will begin by briefly describing existing algorithms which do this and why we chose the algorithm of Sugihara [18] in particular. We will then go into detail of an existing implementation known as R3D [16] as well as its limitations. Finally, we will describe our novel implementation known as J3D, the data structures we introduce for it, and the significant performance improvements it yields. The code repository of J3D is located at https://github.com/lanl/j3d.