Algorithm Search⌘K

Mesh processing and repair

Problems

  • Discrete geodesic problem

    Find shortest paths or the geodesic distance field on the surface of a polyhedron, where paths may cross faces and unfold over edges.

    core
  • Mesh Boolean operations

    Compute the union, intersection or difference of the solids bounded by two triangle meshes, as a new closed mesh, robustly when faces nearly coincide.

    core
  • Mesh hole filling

    Given a mesh and a loop of its border edges, add a patch of triangles that closes the loop and fits the surface around it, as a step of mesh repair and scan completion.

    core
  • Mesh parameterization

    Map a mesh with disk topology one to one onto a region of the plane with low distortion of angles or areas, for texture, remeshing and fitting.

    core
  • Mesh repair

    Turn a polygon soup with holes, gaps, overlaps, flipped faces and self-intersections into a closed, oriented manifold mesh that bounds a solid.

    core
  • Mesh segmentation

    Partition the faces of a mesh into connected parts that are meaningful, such as near-planar charts or the limbs of a shape.

    core
  • Mesh self-intersection detection

    Decide whether a triangle mesh crosses itself, or list every pair of its triangles that meet in more than the vertices and edges they share.

    core

Algorithms

  • Consistent mesh orientation

    Orients all faces of a connected mesh alike by a traversal that flips each neighbour whose shared edge runs the same way, then fixes outward normals by volume sign.

    O(c) expected worst1 languagesintro
  • Laplacian smoothing

    Moves each vertex toward the average of its neighbours, step by step. It removes noise but also shrinks the mesh.

    Θ(K n) worst1 languagesintro
  • Isotropic remeshing

    Makes a mesh with nearly equal edges and good angles by repeating edge splits, collapses, flips toward valence six and tangential smoothing.

    O(k n² log n) worst1 languagescore
  • Metro mesh comparison

    Cignoni, Rocchini and Scopigno's estimate of the one-sided and symmetric Hausdorff and mean distances between two meshes by sampling one surface.

    O(S F) brute_force · grid_worst1 languagescore
  • Taubin smoothing

    Alternates a shrinking Laplacian step with factor lambda and an expanding one with factor mu < -lambda, a low-pass filter that smooths without shrinking.

    Θ(K n) worst1 languagescore
  • Triangle-triangle intersection test

    Tests whether two triangles in 3D meet. It finds the side of each plane on which the vertices of the other triangle lie, then compares two intervals on the common line.

    Θ(1) worst1 languagescore
  • Tutte embedding

    Fixes the boundary on a convex polygon and puts each inner vertex at a convex combination of its neighbours, by one sparse linear solve, which gives a planar embedding.

    O(n^3) worst1 languagescore
  • Angle-based flattening

    Sheffer and de Sturler's parameterization that solves for the planar angles of all triangles closest to the 3D angles under validity constraints, then lays out the mesh.

    O(n) layout1 languagesadvanced
  • As-rigid-as-possible parameterization

    Liu and coauthors' flattening that alternates fitting a rotation to each triangle and a global Poisson solve, which gives low stretch with a free boundary.

    O(n^3 + k n^2) worst1 languagesadvanced
  • As-rigid-as-possible surface deformation

    Sorkine and Alexa's deformation that alternates fitting a rotation to each vertex cell and solving a Laplacian system, so detail stays locally rigid.

    O(n^3 + s n^2) worst1 languagesadvanced
  • Curvature tensor estimation

    Estimates principal curvatures and directions at mesh vertices, by Taubin's average of edge normal curvatures or by Cohen-Steiner and Morvan's tensor of dihedral angles.

    Θ(n) worst1 languagesadvanced
  • Edgebreaker

    Rossignac's connectivity compression that visits the triangles of a mesh one by one and writes one of five symbols for each, using at most 2 bits per triangle on a closed genus 0 mesh.

    O(t^2) decode1 languagesadvanced
  • Implicit fairing

    Desbrun, Meyer, Schröder and Barr's smoothing by backward Euler steps of mean curvature flow with the cotangent Laplacian, stable for large time steps.

    Θ(K s n) worst1 languagesadvanced
  • Laplacian surface editing

    Sorkine and coauthors' editing that keeps the Laplacian coordinates of a mesh in least squares while handle vertices are moved, preserving local detail.

    O(n^3) worst1 languagesadvanced
  • Least squares conformal maps

    Levy and coauthors' parameterization that minimises the violation of the Cauchy-Riemann equations over the triangles by one linear least squares solve, with free boundary.

    O(n^3) worst1 languagesadvanced
  • Liepa hole filling

    Liepa's method that triangulates a hole by dynamic programming over its boundary, minimising area and dihedral angles, then refines and fairs the patch.

    Θ(n^3) worst1 languagesadvanced
  • Mitchell-Mount-Papadimitriou algorithm

    Computes exact geodesic distances from a source on a polyhedral surface by propagating intervals of edges with one unfolding each, in O(n^2 log n) time.

    O(n² log n) worst1 languagesadvanced
  • Shape diameter function

    Shapira, Shamir and Cohen-Or's local thickness measure from rays cast inward in a cone, used to segment meshes into parts that stay stable under pose changes.

    O(r F^2) worst1 languagesadvanced
  • Variational shape approximation

    Cohen-Steiner, Alliez and Desbrun's Lloyd-like partition of a mesh into connected regions, each fit by a plane under a normal error, then a coarse polygon mesh from them.

    O(k s n log n) worst1 languagesadvanced
  • Volumetric mesh repair

    Ju's repair that scan-converts a polygon soup into an octree grid, fixes the signs of the grid points by parity, and contours a closed surface that separates inside from outside.

    O(s + k + b·g) worst1 languagesadvanced
  • Boundary first flattening

    Sawhney and Crane's conformal flattening that first fixes boundary scale factors or angles, then extends them inside by harmonic functions, with a few linear solves.

    O(n^3) worst1 languagesresearch
  • Discrete conformal maps by conformal equivalence

    Springborn, Schroder and Pinkall's maps that scale edge lengths by vertex factors found by minimising a convex energy, to reach target angle sums.

    O(k n^3) worst1 languagesresearch
  • Generalized winding number

    Jacobson, Kavan and Sorkine's sum of signed solid angles of a mesh at a point, which is 1 inside and 0 outside a closed mesh and degrades smoothly for broken ones.

    O(F) direct · tree_worst1 languagesresearch
  • Globally optimal direction fields

    Knöppel, Crane, Pinkall and Schröder's smoothest n-direction fields on a surface, found as the eigenvector of the smallest eigenvalue of one sparse Hermitian matrix.

    O(n^3 + k n^2) dense1 languagesresearch
  • Heat method

    Crane, Weischedel and Wardetzky's geodesic distance by a short heat flow, normalizing its gradient and solving a Poisson equation, with two sparse linear solves.

    Θ(s n) worst1 languagesresearch
  • Mesh arrangements for solid geometry

    Zhou, Grinspun, Zorin and Jacobson's method that computes the exact arrangement of all input triangles, labels each cell by winding numbers and extracts any Boolean.

    O(n^2) output_worst1 languagesresearch
  • Mixed-integer quadrangulation

    Bommes, Zimmer and Kobbelt's quad remeshing that aligns a parameterization with a smooth cross field and rounds its singularities and seams to integers.

    O(k n^3) greedy_dense1 languagesresearch

Data structures

  • Indexed face set

    A mesh stored as an array of vertex positions and a list of faces, each given by the indices of its vertices, the form of most mesh files.

    O(c) boundary-edges1 languagesintro
  • Corner table

    Rossignac's compact triangle mesh structure with two integer arrays, the vertex and the opposite corner of each corner, which supports all adjacency queries.

    O(n + m) expected build1 languagescore
  • Progressive mesh

    Hoppe's representation of a mesh as a coarse base mesh and a sequence of vertex splits that undo edge collapses, for smooth level of detail and streaming.

    O(n^2 d) build_code1 languagesadvanced

Techniques

  • Vertex welding

    Merges vertices that lie within a tolerance of each other, usually with a grid or a k-d tree, so faces that should share edges become connected.

    1 languagesintro
  • Manifold harmonics

    Uses the eigenfunctions of the cotangent Laplacian as a Fourier basis on a mesh, as Vallet and Levy did, for filtering, compression and shape descriptors.

    advanced

Definitions

  • Manifold mesh

    A mesh in which each edge has one or two faces and the faces around each vertex form one fan, so it is locally like a disk or a half disk.

    intro
  • Cotangent Laplacian

    The discrete Laplace-Beltrami operator of a triangle mesh whose edge weights are (cot a + cot b)/2 for the two angles opposite the edge, from linear finite elements.

    core
  • Cut graph

    A set of edges whose removal opens a closed mesh of genus g into a topological disk, needed before flattening, found from a spanning tree and cotree.

    core
  • Discrete Gaussian curvature

    At a mesh vertex, 2 pi minus the sum of the angles of its faces at that vertex, divided by an area or taken as a concentrated curvature.

    core
  • Discrete mean curvature normal

    The vector at a mesh vertex that Meyer, Desbrun, Schröder and Barr defined as the area gradient over the mixed Voronoi area, an estimate of 2H times the unit normal.

    core
  • Cross field

    A field of four directions related by 90 degree turns on a surface, whose singularities set the irregular vertices of a field-aligned quad mesh.

    advanced
  • Mean value coordinates

    Floater's weights from the tangents of half angles that express a point as a convex combination of polygon vertices, used for shape preserving parameterization.

    advanced

Theorems

  • Discrete Gauss-Bonnet theorem

    The angle defects of a closed polyhedral surface sum to 2 pi times its Euler characteristic, so 4 pi for any closed surface of genus zero.

    core