Algorithm Search⌘K

Definitioncore

Discrete mean curvature normal

Also called Meyer discrete curvature operators, mixed Voronoi area curvature.

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.

The discrete mean curvature normal is a vector at each vertex of a triangle mesh. Meyer, Desbrun, Schröder and Barr (2003) defined it as

Ki=12Ai∑j∈N(i)(cot⁡αij+cot⁡βij) (xi−xj),\mathbf K_i = \frac{1}{2A_i}\sum_{j \in N(i)} (\cot\alpha_{ij} + \cot\beta_{ij})\,(x_i - x_j),

where N(i)N(i) is the set of neighbours of vertex ii, αij\alpha_{ij} and βij\beta_{ij} are the two angles opposite the edge ijij, and AiA_i is the mixed Voronoi area of the vertex. The sum is twice the gradient of the area of the mesh with respect to xix_i, so Ki\mathbf K_i is the area gradient per unit area. On a smooth surface, the area gradient per unit area is 2Hn2Hn, where H=12(k1+k2)H = \frac{1}{2}(k_1 + k_2) is the mean curvature and nn the outward unit normal. So Ki\mathbf K_i is an estimate of 2Hn2Hn at the vertex, and 12∣Ki∣\frac{1}{2}|\mathbf K_i| is an estimate of ∣H∣|H|. At a convex vertex the vector points out. In the notation of the cotangent Laplacian, Ki=(Cx)i/Ai=−(Lx)i/Ai\mathbf K_i = (Cx)_i / A_i = -(Lx)_i / A_i.

Definition

Let the mesh be a triangle polygon mesh with vertex positions x1,…,xnx_1, \ldots, x_n in R3\mathbb R^3 and faces of positive area. For an inner edge ijij, let αij\alpha_{ij} and βij\beta_{ij} be the angles at the third corners of the two faces that hold the edge. A border edge has one face, and the missing cotangent is 0. Write wij=12(cot⁡αij+cot⁡βij)w_{ij} = \frac{1}{2}(\cot\alpha_{ij} + \cot\beta_{ij}), the cotangent weight.

The area gradient. Let A(x1,…,xn)\mathcal A(x_1, \ldots, x_n) be the total area of the mesh. Then

∇xiA=∑j∈N(i)wij (xi−xj)=12∑j∈N(i)(cot⁡αij+cot⁡βij) (xi−xj).\nabla_{x_i}\mathcal A = \sum_{j \in N(i)} w_{ij}\,(x_i - x_j) = \frac{1}{2}\sum_{j \in N(i)} (\cot\alpha_{ij} + \cot\beta_{ij})\,(x_i - x_j).

Proof. Take one face with corners xi,xj,xkx_i, x_j, x_k and angles θi,θj,θk\theta_i, \theta_j, \theta_k. Its area is 12∣e∣ h\frac{1}{2}|e|\,h, where e=xk−xje = x_k - x_j is the edge opposite xix_i and hh is the distance from xix_i to the line through ee. A move of xix_i along ee does not change hh. A move out of the plane of the face changes hh only to second order. A move in the plane, normal to ee, changes hh at unit rate. So the gradient of the face area at xix_i is 12∣e∣ u\frac{1}{2}|e|\,u, where uu is the unit vector in the plane, normal to ee, that points from the line to xix_i. Let e^=e/∣e∣\hat e = e / |e| and let the foot of the height be xj+ae^x_j + a\hat e, with aa signed. Then xi−xj=hu+ae^x_i - x_j = hu + a\hat e and xi−xk=hu+(a−∣e∣)e^x_i - x_k = hu + (a - |e|)\hat e. So cot⁡θj=a/h\cot\theta_j = a/h and cot⁡θk=(∣e∣−a)/h\cot\theta_k = (|e| - a)/h. These signed forms also hold when the foot is outside the edge: then one of the two angles is obtuse, and its cotangent is negative. Now

cot⁡θk (xi−xj)+cot⁡θj (xi−xk)=(∣e∣−a) u+a u+(∣e∣−a) a+a (a−∣e∣)h e^=∣e∣ u.\cot\theta_k\,(x_i - x_j) + \cot\theta_j\,(x_i - x_k) = (|e| - a)\,u + a\,u + \frac{(|e| - a)\,a + a\,(a - |e|)}{h}\,\hat e = |e|\,u .

So the gradient of the face area at xix_i is 12(cot⁡θk (xi−xj)+cot⁡θj (xi−xk))\frac{1}{2}\big(\cot\theta_k\,(x_i - x_j) + \cot\theta_j\,(x_i - x_k)\big). In this face, the coefficient of xi−xjx_i - x_j is the cotangent of the angle opposite the edge ijij. Sum over the faces at ii: each inner edge ijij lies in two faces, which give cot⁡αij\cot\alpha_{ij} and cot⁡βij\cot\beta_{ij}. □\square

The mean curvature normal. Divide the area gradient by an area AiA_i that stands for the vertex:

Ki=∇xiAAi.\mathbf K_i = \frac{\nabla_{x_i}\mathcal A}{A_i} .

Meyer et al. use the mixed Voronoi area, which the cotangent Laplacian page also defines. A face at ii with no obtuse angle gives ii the part of the face that is nearer to xix_i than to the other corners, 18(∣xi−xj∣2cot⁡θk+∣xi−xk∣2cot⁡θj)\frac{1}{8}\big(|x_i - x_j|^2\cot\theta_k + |x_i - x_k|^2\cot\theta_j\big). An obtuse face gives ii half its area if the obtuse angle is at ii, and a quarter of its area if not. The areas AiA_i of all vertices sum to the area of the mesh.

Why the factor is 2. On a smooth closed surface, a motion with velocity field VV changes the area at the rate ∫2H ⟨V,n⟩ dA\int 2H\,\langle V, n\rangle\,dA, the first variation of area, with H>0H > 0 on a sphere and nn outward. For the sphere of radius rr and V=nV = n the rate is 2r⋅4πr2=8πr\frac{2}{r} \cdot 4\pi r^2 = 8\pi r, the derivative of 4πr24\pi r^2. So the area gradient is the density 2Hn2Hn integrated over a region. Meyer et al. read ∇xiA\nabla_{x_i}\mathcal A as the integral of 2Hn2Hn over the region of vertex ii, and the division by AiA_i gives the value at the point. Take care with three factors:

  • Ki\mathbf K_i is 2Hn2Hn, so the mean curvature is 12∣Ki∣\frac{1}{2}|\mathbf K_i|, not ∣Ki∣|\mathbf K_i|.
  • Some texts call k1+k2k_1 + k_2 the mean curvature. With that name, ∣Ki∣|\mathbf K_i| is the mean curvature.
  • If you divide by the area of all faces at ii, which is three times the barycentric area, the vector is three times too short.

Signed mean curvature. With a unit normal nin_i at the vertex, Hi=12Ki⋅niH_i = \frac{1}{2}\mathbf K_i \cdot n_i has a sign. It is positive where the surface bends away from nin_i, as on a sphere with outward normals, and negative in a dent. The length ∣Ki∣|\mathbf K_i| does not keep the sign.

Principal curvatures. Let KiGK^G_i be the angle defect at ii divided by the same AiA_i. Meyer et al. estimate the principal curvatures as

k1,2=Hi±max⁡(Hi2−KiG, 0).k_{1,2} = H_i \pm \sqrt{\max(H_i^2 - K^G_i,\ 0)} .

The two estimates come from different formulas, so Hi2−KiGH_i^2 - K^G_i can be negative, and the clamp at 0 is necessary. At a sharp vertex of a coarse mesh it is clearly negative: at the apex (0,0,0)(0, 0, 0) of the pyramid with the base corners (±1,0,−1)(\pm 1, 0, -1) and (0,±1,−1)(0, \pm 1, -1), whose four faces are equilateral, Hi=1H_i = 1 and KiG=π/3K^G_i = \pi/\sqrt 3, so Hi2−KiG≈−0.814H_i^2 - K^G_i \approx -0.814. The principal directions need more than these two numbers: see curvature tensor estimation.

Properties.

  • Translation. A translation of the whole mesh does not change its area. So ∑i∇xiA=0\sum_i \nabla_{x_i}\mathcal A = 0, that is ∑iAiKi=0\sum_i A_i\mathbf K_i = 0, on every mesh.
  • Scale. The area is homogeneous of degree 2 in the positions. By Euler's identity for homogeneous functions, ∑ixi⋅∇xiA=2A\sum_i x_i \cdot \nabla_{x_i}\mathcal A = 2\mathcal A. A scaling of the mesh by ss scales each Ki\mathbf K_i by 1/s1/s, as for the curvature of a sphere.
  • Flat stars. At an inner vertex whose faces lie in one plane, Ki=0\mathbf K_i = 0, for every shape of the triangles. A move of xix_i in the plane does not change the area of its star, because the outer polygon stays the same. A move out of the plane changes the area only to second order.
  • Rotation. A rotation of the mesh rotates each Ki\mathbf K_i with it.
  • Zeros. A mesh with Ki=0\mathbf K_i = 0 at every inner vertex is a critical point of the area for a fixed border. Pinkall and Polthier (1993) call it a discrete minimal surface.
  • Convergence. For meshes that converge to a smooth surface together with their normals, Hildebrandt, Polthier and Wardetzky (2006) prove that the mean curvature vectors converge in a weak, integrated sense. The value at a single vertex can still be wrong, and its convergence needs more conditions on the triangles.

Examples and non-examples

All vertices alike on a sphere. Take a mesh with all vertices on the sphere of radius rr about the origin, such that the symmetries of the mesh map any vertex to any other, and each vertex has a symmetry that turns about its radius by a nonzero angle less than a half turn. The octahedron and the icosahedron are examples. By symmetry, each ∇xiA\nabla_{x_i}\mathcal A is along the radius, with the same length gg, and each Ai=A/nA_i = \mathcal A / n. Euler's identity gives n r g=2An\,r\,g = 2\mathcal A, so ∣Ki∣=g/Ai=2/r|\mathbf K_i| = g / A_i = 2/r and H=1/rH = 1/r, exactly. For the icosahedron on the unit sphere, the edge length is 4/10+25≈1.05154/\sqrt{10 + 2\sqrt 5} \approx 1.0515, every weight is cot⁡60°=1/3\cot 60° = 1/\sqrt 3, and Ai≈0.7979A_i \approx 0.7979. The formula gives ∣Ki∣=2|\mathbf K_i| = 2. This exact value comes from the symmetry. It does not mean that a coarse mesh is a good model of the sphere.

A cylinder, exactly. Cut the cylinder of radius rr into mm columns and rows of height hh, and cut each rectangle by the diagonal in the same direction. Each face is a right triangle with legs c=2rsin⁡(π/m)c = 2r\sin(\pi/m) and hh, and area 12ch\frac{1}{2}ch. Each inner vertex is the right-angle corner of 2 of its 6 faces, so its mixed area is 2⋅12⋅ch2+4⋅14⋅ch2=ch2 \cdot \frac{1}{2} \cdot \frac{ch}{2} + 4 \cdot \frac{1}{4} \cdot \frac{ch}{2} = ch. The half turn about the radial line through xix_i maps the mesh to itself, so the area gradient at xix_i is along the radius. In a tube that repeats along its axis, all vertices are alike, and the area per vertex, chch, is linear in rr. A scaling of all radii by 1+ϵ1 + \epsilon thus adds ϵ ch\epsilon\,ch to the area per vertex, and the radial gradient is g=ch/rg = ch / r. So ∣Ki∣=1/r|\mathbf K_i| = 1/r and H=12rH = \frac{1}{2r}, the mean curvature of the cylinder, for every mm and hh.

A sphere with unequal vertices. The icospheres cut each triangle of the icosahedron into four and project the new vertices to the unit sphere. At the twelve vertices of valence 5, the measured values of 12∣Ki∣\frac{1}{2}|\mathbf K_i| are:

level vertices mixed Voronoi area barycentric area
1 42 1.0000 1.1024
2 162 1.0000 1.1345
3 642 1.0000 1.1430
4 2562 1.0000 1.1452

With the mixed area, the vertices of valence 6 also give values within 0.0002 of 1. With the barycentric area, the estimate at the valence 5 vertices does not tend to 1, because the faces around them have unequal sizes. At the pole of a latitude and longitude sphere with mm thin faces at the pole, the barycentric area gives 0.873, 0.779, 0.757 and 0.752 for m=8,16,32,64m = 8, 16, 32, 64 with mm rings, and the mixed area gives 1.0000. For a thin face at the pole, the barycentric share is about 43\frac{4}{3} times the Voronoi share, so the barycentric value tends to 34\frac{3}{4}.

A saddle with zero mean curvature. Put the vertex at the origin with the four neighbours (1,0,1)(1, 0, 1), (0,1,−1)(0, 1, -1), (−1,0,1)(-1, 0, 1), (0,−1,−1)(0, -1, -1) in this order. Each face is isosceles, with sides 2\sqrt 2 and an angle of 120°120° at the origin, so its two other angles are 30°30°. Each spoke is opposite two angles of 30°30°, so every weight is 12(3+3)=3\frac{1}{2}(\sqrt 3 + \sqrt 3) = \sqrt 3. The area gradient is 3∑j(0−xj)\sqrt 3\sum_j (0 - x_j), and the neighbours sum to 00, so K=0\mathbf K = 0. The discrete Gaussian curvature of the same vertex is −2π/3-2\pi/3. Zero mean curvature with negative Gaussian curvature is the local shape of a minimal surface.

Non-example: a border vertex. Cut the unit square into two triangles by the diagonal from (0,0)(0, 0) to (1,1)(1, 1). At the corner (1,0)(1, 0), the area gradient is (12,−12,0)(\frac{1}{2}, -\frac{1}{2}, 0) and the mixed area is 14\frac{1}{4}, so the formula gives (2,−2,0)(2, -2, 0), although the square is flat. At a border vertex the area gradient also holds the pull of the border, because a move outward makes the area larger. So the formula gives a mean curvature only at inner vertices. At border vertices, leave it out or use a border term.

Non-example: the uniform Laplacian. The vector 1di∑j(xj−xi)\frac{1}{d_i}\sum_j (x_j - x_i) of Laplacian smoothing is not a curvature. Take the vertex (0,0,0)(0, 0, 0) with the neighbours (2,0,0)(2, 0, 0), (0,1,0)(0, 1, 0), (−1,0,0)(-1, 0, 0), (0,−1,0)(0, -1, 0) in one plane. The uniform vector is (14,0,0)(\frac{1}{4}, 0, 0), along the plane, while K=0\mathbf K = 0 because the star is flat.

  • Surface curvature: the smooth mean curvature HH and the principal curvatures k1,k2k_1, k_2 that Ki\mathbf K_i estimates.
  • Cotangent Laplacian: the operator LL, with Ki=−(Lx)i/Ai\mathbf K_i = -(Lx)_i / A_i, and the mixed area in detail.
  • Discrete Gaussian curvature: the angle defect, the companion estimate. The two together give k1k_1 and k2k_2.
  • Curvature tensor estimation: estimates of the principal directions, which Ki\mathbf K_i does not give.
  • Implicit fairing: moves each vertex along −Ki-\mathbf K_i, a discrete mean curvature flow.
  • Laplacian surface editing: stores the vectors (Lx)i(Lx)_i, which are −AiKi-A_i\mathbf K_i with the cotangent weights, as the detail of a shape.

References

  1. Mark Meyer, Mathieu Desbrun, Peter Schröder and Alan H. Barr, Discrete differential-geometry operators for triangulated 2-manifolds, in Visualization and Mathematics III (H.-C. Hege and K. Polthier, eds.), Springer, 2003, 35 to 57, the mean curvature normal operator as the area gradient over the mixed Voronoi area, the mixed area for obtuse triangles, and the principal curvatures from the mean and Gaussian curvatures
  2. Ulrich Pinkall and Konrad Polthier, Computing discrete minimal surfaces and their conjugates, Experimental Mathematics 2(1), 1993, 15 to 36, the gradient of the area of a triangle mesh with the cotangents of the opposite angles, and discrete minimal surfaces as the critical points of the area
  3. Klaus Hildebrandt, Konrad Polthier and Max Wardetzky, On the convergence of metric and geometric properties of polyhedral surfaces, Geometriae Dedicata 123, 2006, 89 to 112, the convergence of the mean curvature vectors in a weak sense, under the convergence of the normals (general locator)
  4. Mario Botsch, Leif Kobbelt, Mark Pauly, Pierre Alliez and Bruno Lévy, Polygon Mesh Processing, AK Peters, 2010, Chapter 3, Differential Geometry (the discrete mean curvature from the Laplace-Beltrami operator of the positions)

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/YB8QMS/text.yaml