Algorithm Search⌘K

Definitionintro

Manifold mesh

Also called two-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.

A manifold mesh is a polygon mesh in which each edge lies in one or two faces and the faces around each vertex form a single fan. These two local conditions make each point of the surface have a neighbourhood like a disk, or like a half disk on the border. The first condition alone gives an edge-manifold mesh, which is weaker: two cones that touch at their tips satisfy it, but the tip is not like a disk. Most mesh algorithms and mesh data structures need a manifold mesh as input, so testing and repairing this property comes first in a mesh pipeline.

Definition

A mesh is a set of vertices {0,…,n−1}\{0, \ldots, n-1\} and a set of faces, where each face is a cyclic sequence of at least three distinct vertices, as in an indexed face set. An edge is a pair {u,v}\{u, v\} of vertices that follow each other in some face. The number of faces that contain an edge, counted with their uses, is its valence.

Link of a vertex. For a vertex vv, the link Lk(v)\mathrm{Lk}(v) is the graph whose nodes are the neighbours ww of vv (the vertices with an edge {v,w}\{v, w\}), with one link edge for each face ff that contains vv. The link edge of ff joins the two neighbours of vv in ff, the vertex before vv and the vertex after vv. So the link edges are the faces around vv, and two of them touch where two faces share an edge at vv.

Manifold mesh. A mesh is a manifold mesh (a combinatorial 2-manifold, possibly with border) if these two conditions hold:

  1. Edge condition. Each edge has valence 1 or 2.
  2. Vertex condition. For each vertex vv that some face uses, Lk(v)\mathrm{Lk}(v) is one cycle or one simple path.

The degree of a node ww in Lk(v)\mathrm{Lk}(v) is the valence of the edge {v,w}\{v, w\}. So under the edge condition, each link is a disjoint union of paths and cycles, and the vertex condition asks only that the link is connected: the faces around vv form one fan. An edge with valence 1 is a border edge. A vertex with a cycle as its link is an inner vertex, and a vertex with a path is a border vertex. The mesh is closed, or watertight, if it has no border edge.

Edge-manifold mesh. A mesh that satisfies only the edge condition is edge-manifold. A vertex that breaks the vertex condition, while all its edges have valence 1 or 2, is a non-manifold vertex. An edge with valence at least 3 is a non-manifold edge.

Why the name. If the mesh is a manifold mesh and its faces are drawn as flat polygons that meet only along shared edges and vertices, the union of the faces is a compact topological surface with boundary: the fan around an inner vertex is a disk, and the fan around a border vertex is a half disk. The border edges then form disjoint closed loops, the border loops. The definition is combinatorial. It says nothing about the positions of the vertices, so a manifold mesh can still cross itself in space, see mesh self-intersection.

Orientation. A manifold mesh is consistently oriented if the two faces of each inner edge use it in opposite directions, and orientable if some choice of the vertex order of each face makes it so. With the convention of this encyclopedia, the outward normal of each face follows the right-hand rule for its vertex order. For a connected, orientable manifold mesh with genus gg and bb border loops, the Euler-Poincaré formula gives χ=V−E+F=2−2g−b\chi = V - E + F = 2 - 2g - b.

Examples and non-examples

Examples.

  • A tetrahedron with faces (0,2,1),(0,1,3),(1,2,3),(0,3,2)(0, 2, 1), (0, 1, 3), (1, 2, 3), (0, 3, 2). Each edge has valence 2. The link of vertex 0 has the nodes 1, 2 and 3 and the link edges {2,1}\{2, 1\}, {1,3}\{1, 3\}, {3,2}\{3, 2\}, which form one cycle. The mesh is closed, consistently oriented, and χ=4−6+4=2\chi = 4 - 6 + 4 = 2.
  • A single triangle. Each edge has valence 1, and each link is one link edge, a path. It is a disk with one border loop, χ=1\chi = 1.
  • An open box, a cube without its top face. The four top edges are border edges, and they form one border loop. The top vertices have a path of two link edges as their link. χ=8−12+5=1=2−0−1\chi = 8 - 12 + 5 = 1 = 2 - 0 - 1.
  • A Möbius strip made of triangles. It is a manifold mesh, but it is not orientable: each choice of face orders leaves some inner edge used twice in the same direction.

Non-examples.

  • Two cones that meet at their tips. Let vertex 0 be the common tip, with the upper rim 1,2,3,41, 2, 3, 4 and the lower rim 5,6,7,85, 6, 7, 8, and the faces (0,1,2),(0,2,3),(0,3,4),(0,4,1)(0, 1, 2), (0, 2, 3), (0, 3, 4), (0, 4, 1) and (0,6,5),(0,7,6),(0,8,7),(0,5,8)(0, 6, 5), (0, 7, 6), (0, 8, 7), (0, 5, 8). Each edge has valence 1 or 2, so the mesh is edge-manifold. But Lk(0)\mathrm{Lk}(0) is two disjoint cycles, 1,2,3,41, 2, 3, 4 and 5,6,7,85, 6, 7, 8. So vertex 0 is a non-manifold vertex: a small ball around the tip meets the surface in two disks that share one point, which is not a disk. Here χ=9−16+8=1\chi = 9 - 16 + 8 = 1, and this is not 2−2g−b2 - 2g - b for the two border loops and any g≥0g \ge 0.
  • A bow tie. The triangles (0,1,2)(0, 1, 2) and (0,3,4)(0, 3, 4) share only the vertex 0. All edges have valence 1, but Lk(0)\mathrm{Lk}(0) is two disjoint paths, so vertex 0 is non-manifold. This is the border form of the two cones.
  • Three triangles on one edge, (0,1,2)(0, 1, 2), (1,0,3)(1, 0, 3) and (0,1,4)(0, 1, 4). The edge {0,1}\{0, 1\} has valence 3, and node 1 has degree 3 in Lk(0)\mathrm{Lk}(0). This is a non-manifold edge. Such edges come up where two closed solids touch along an edge, or where a wall is attached to a closed shell.
  • A triangle soup, where each face has its own copies of its vertices. Each face is a separate disk, so the mesh is manifold, but it is not the surface it shows: every edge is a border edge. Vertex welding merges the copies. It can also create non-manifold edges and vertices where two parts only touch.
  • Polygon mesh. The general mesh, with the Euler characteristic and the half-edge structure. This page makes its 2-manifold condition precise with the link.
  • Manifold solid. A solid whose boundary is a closed, orientable 2-manifold. A closed, orientable manifold mesh without self-intersections bounds such a solid.
  • Consistent mesh orientation. The algorithm that orients a manifold mesh, or reports that it is not orientable.
  • Euler-Poincaré formula. The relation χ=2−2g−b\chi = 2 - 2g - b for each connected, orientable manifold mesh.
  • Mesh repair. The problem of turning a mesh with non-manifold edges and vertices, holes and self-intersections into a manifold mesh.
  • Doubly connected edge list and corner table. Structures that store only manifold meshes. The radial edge structure stores non-manifold meshes as well.

References

  1. Mario Botsch, Leif Kobbelt, Mark Pauly, Pierre Alliez and Bruno Lévy, Polygon Mesh Processing, AK Peters, 2010, Chapter 8, Model Repair, Section 8.1, Types of Artifacts (non-manifold edges and vertices)
  2. Herbert Edelsbrunner and John Harer, Computational Topology, An Introduction, American Mathematical Society, 2010, Chapter II, Surfaces, Section II.1, Two-dimensional Manifolds (triangulated surfaces, links of vertices, orientability)
  3. Marco Attene, Marcel Campen and Leif Kobbelt, Polygon mesh repairing, an application perspective, ACM Computing Surveys 45(2), Article 15, 2013, the section on the types of defects (singular edges and vertices, borders, orientation)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/Q6E1QG/text.yaml