Half-Edge Data Structure. Part2
Summary
This post explains how OpenMesh's add_face builds and repairs the half-edge data structure when adding a new face. It details the logic for computing next pointers, the boundary repair algorithm, and how OpenMesh batches updates with next_cache_ to preserve correctness. It offers practical insight into mesh topology maintenance for 3D editors and geometry processing.