DISCRETE DIFFERENTIAL GEOMETRY: AN APPLIED INTRODUCTION Keenan Crane CMU /858B Fall 2017

Similar documents
Lectures in Discrete Differential Geometry 3 Discrete Surfaces

Shape Modeling and Geometry Processing

05 - Surfaces. Acknowledgements: Olga Sorkine-Hornung. CSCI-GA Geometric Modeling - Daniele Panozzo

GAUSS-BONNET FOR DISCRETE SURFACES

Curvature Berkeley Math Circle January 08, 2013

CS 177 Homework 1. Julian Panetta. October 22, We want to show for any polygonal disk consisting of vertex set V, edge set E, and face set F:

Surfaces: notes on Geometry & Topology

(Discrete) Differential Geometry

Pick up some wrapping paper.

Research in Computational Differential Geomet

Euler s Theorem. Brett Chenoweth. February 26, 2013

One simple example is that of a cube. Each face is a square (=regular quadrilateral) and each vertex is connected to exactly three squares.

Background for Surface Integration

CS 468 (Spring 2013) Discrete Differential Geometry

Computing Curvature CS468 Lecture 8 Notes

1 Discrete Connections

274 Curves on Surfaces, Lecture 5

Topic: Orientation, Surfaces, and Euler characteristic

INTRODUCTION TO 3-MANIFOLDS

CAT(0)-spaces. Münster, June 22, 2004

Bands: A Physical Data Structure to Represent Both Orientable and Non-Orientable 2-Manifold Meshes

Differential Geometry: Circle Patterns (Part 1) [Discrete Conformal Mappinngs via Circle Patterns. Kharevych, Springborn and Schröder]

Convex Hulls (3D) O Rourke, Chapter 4

Example: The following is an example of a polyhedron. Fill the blanks with the appropriate answer. Vertices:

The radius for a regular polygon is the same as the radius of the circumscribed circle.

Discrete Surfaces. David Gu. Tsinghua University. Tsinghua University. 1 Mathematics Science Center

In this lecture we introduce the Gauss-Bonnet theorem. The required section is The optional sections are

Topological Data Analysis - I. Afra Zomorodian Department of Computer Science Dartmouth College

GSAC TALK: THE WORD PROBLEM. 1. The 8-8 Tessellation. Consider the following infinite tessellation of the open unit disc. Actually, we want to think

University of South Carolina Math 222: Math for Elementary Educators II Instructor: Austin Mohr Section 002 Fall Midterm Exam Solutions

Chapter 11 Part 2. Measurement of Figures and Solids

Hyperbolic Geometry. Thomas Prince. Imperial College London. 21 January 2017

Geometric Modeling Mortenson Chapter 11. Complex Model Construction

7. The Gauss-Bonnet theorem

Hyperbolic structures and triangulations

Teaching diary. Francis Bonahon University of Southern California

(1) Page #2 26 Even. (2) Page 596 #1 14. (3) Page #15 25 ; FF #26 and 28. (4) Page 603 #1 18. (5) Page #19 26

Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 24 Solid Modelling

DISCRETE DIFFERENTIAL GEOMETRY

Two Connections between Combinatorial and Differential Geometry

4. Simplicial Complexes and Simplicial Homology

DISCRETE DIFFERENTIAL GEOMETRY: AN APPLIED INTRODUCTION Keenan Crane CMU /858B Fall 2017

We have set up our axioms to deal with the geometry of space but have not yet developed these ideas much. Let s redress that imbalance.

1 Appendix to notes 2, on Hyperbolic geometry:

Curriki Geometry Glossary

A Flavor of Topology. Shireen Elhabian and Aly A. Farag University of Louisville January 2010

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe

6.2 Classification of Closed Surfaces

Hyplane Polyhedral Models of Hyperbolic Plane

Math 451: Euclidean and Non-Euclidean Geometry MWF 3pm, Gasson 204 Homework 8 Solutions

Introduction to geometry

Spherical Geometry MATH430

Invariant Measures of Convex Sets. Eitan Grinspun, Columbia University Peter Schröder, Caltech

Math 462: Review questions

Geometry and Gravitation

CLASSIFICATION OF SURFACES

CS195H Homework 5. Due:March 12th, 2015

Flavor of Computational Geometry. Convex Hull in 2D. Shireen Y. Elhabian Aly A. Farag University of Louisville

Lectures 19: The Gauss-Bonnet Theorem I. Table of contents

THE DNA INEQUALITY POWER ROUND

CS 523: Computer Graphics, Spring Differential Geometry of Surfaces

Lecture 25: Bezier Subdivision. And he took unto him all these, and divided them in the midst, and laid each piece one against another: Genesis 15:10

MATERIAL FOR A MASTERCLASS ON HYPERBOLIC GEOMETRY. Timeline. 10 minutes Exercise session: Introducing curved spaces

GCSE Higher Revision List

Heegaard splittings and virtual fibers

Introduction to Geometry. Computer Graphics CMU /15-662

From isothermic triangulated surfaces to discrete holomorphicity

Math 311. Trees Name: A Candel CSUN Math

The basics of rigidity

Lecture 2 September 3

EXPERIENCING GEOMETRY

Curvatures of Smooth and Discrete Surfaces

ON THE MAXIMAL VOLUME OF THREE-DIMENSIONAL HYPERBOLIC COMPLETE ORTHOSCHEMES

Class Generated Review Sheet for Math 213 Final

The Construction of a Hyperbolic 4-Manifold with a Single Cusp, Following Kolpakov and Martelli. Christopher Abram

Can Maps Make the World Go Round?

Edge and local feature detection - 2. Importance of edge detection in computer vision

Answer Key: Three-Dimensional Cross Sections

DEFINITIONS. Perpendicular Two lines are called perpendicular if they form a right angle.

Suggested Foundation Topics for Paper 2

SIMPLICIAL ENERGY AND SIMPLICIAL HARMONIC MAPS

INTRODUCTION TO THE HOMOLOGY GROUPS OF COMPLEXES

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe

Hyperbolic Structures from Ideal Triangulations

PITSCO Math Individualized Prescriptive Lessons (IPLs)

Isotopy classes of crossing arcs in hyperbolic alternating links

Birkdale High School - Higher Scheme of Work

Computational Geometry: Lecture 5

Motion Planning. O Rourke, Chapter 8

Number. Number. Number. Number

Geometric structures on manifolds

Computer Aided Engineering Design Prof. Anupam Saxena Department of Mechanical Engineering Indian Institute of Technology, Kanpur.

Contents. Preface... VII. Part I Classical Topics Revisited

CS 523: Computer Graphics, Spring Shape Modeling. Differential Geometry of Surfaces

UNIT 11 VOLUME AND THE PYTHAGOREAN THEOREM

Basics of Computational Geometry

Hustle Geometry SOLUTIONS MAΘ National Convention 2018 Answers:

To be a grade 1 I need to

In what follows, we will focus on Voronoi diagrams in Euclidean space. Later, we will generalize to other distance spaces.

AQA GCSE Maths - Higher Self-Assessment Checklist

Transcription:

DISCRETE DIFFERENTIAL GEOMETRY: AN APPLIED INTRODUCTION Keenan Crane CMU 15-458/858B Fall 2017

LECTURE 10: DISCRETE CURVATURE DISCRETE DIFFERENTIAL GEOMETRY: AN APPLIED INTRODUCTION Keenan Crane CMU 15-458/858B Fall 2017

Discrete Curvature

Curvature of Surfaces In smooth setting, had many different curvatures (normal, principal, Gauss, mean, geodesic, ) N N X 2 X 1 N X 2 In discrete setting, appear to be many different choices for discretization X 1 Actually, there is a unified viewpoint that helps explain many common choices

A Unified Picture of Discrete Curvature By making some connections between smooth and discrete surfaces, we get a unified picture of many different discrete curvatures scattered throughout the literature To tell the full story we ll need a few pieces: geometric derivatives Steiner polynomials sequence of curvature variations assorted theorems (Gauss-Bonnet, Schläfli, f = 2HN) Let s start with some of these assorted theorems

Discrete Curvature Visualized area mean Gauss maximum minimum

Quantities & Conventions Throughout we will consider the following basic quantities: f i f i position of vertex i e ij vector from i to j N jil N ijk length of edge ij φ ij A ijk area of triangle ijk N ijk unit normal of triangle ijk f l interior angle at vertex i of triangle ijk f k φ ij dihedral angle at oriented edge ij f j Q: Which of these quantities are discrete differential forms? (And what kind?)

Discrete Geometric Derivatives

Discrete Geometric Derivatives Practical technique for calculating derivatives of discrete geometric quantities Basic question: how does one geometric quantity change with respect to another? E.g., what s the gradient of triangle area with respect to the position of one of its vertices? Don t just grind out partial derivatives! Do follow a simple geometric recipe: First, in which direction does the quantity change quickest? Second, what s the magnitude of this change? Together, direction & magnitude give us the gradient vector

Dangers of Partial Derivatives Why not just take derivatives the usual way? b a usually takes way more work! can lead to expressions that are c inefficient numerically unstable hard to interpret Example: gradient of angle between two segments (b,a), (c,a) w.r.t. coordinates of point a

Geometric Derivation of Angle Derivative Instead of taking partial derivatives, let s break this calculation into two pieces: 1. (Direction) What direction can we move the point a to most quickly increase the angle θ? A: Orthogonal to the segment ab. b 2. (Magnitude) How much does the angle change if we move in this direction? a A: Moving around a whole circle changes the angle by 2! over a distance 2!r, where r = ba. Hence, the instantaneous change is 1/ b-a. c Multiplying the unit direction by the magnitude yields a final gradient expression. 2

Gradient of Triangle Area Q: What s the gradient of triangle area with respect to one of its vertices p? A: Can express via its unit normal N and vector e along edge opposite p: p N e

Geometric Derivation In general, can lead to some pretty slick expressions (give it a try!)

Aside: Automatic Differentiation Geometric approach to differentiation greatly simplifies small pieces (gradient of a particular, angle, length, area, volume, ) For larger expressions that combine many small pieces, approach of automatic differentiation is extremely useful* Basically does nothing more than automate repeated application of chain rule Simplest implementation: use pair that store both a value and its derivative; operations on these tuples apply operation & chain rule Example. // define how multiplication and sine // operate on (value,derivative) pairs // (usually done by an existing library) (a,a )*(b,b ) := (a*b,a*b +b*a ) sin((a,a )) := (sin(a),a *cos(a)) // to evaluate a function and its // derivative at a point, we first // construct a pair corresponding to the // identity function f(x) = x at the // desired evaluation point x = (5,1) // derivative of x w.r.t x is 1 // now all we have to do is type a // function as usual, and it will yield // the correct value/derivative pair fx = sin(x*x) // (-0.132352, 9.91203) *More recently known as backpropagation

Discrete Gaussian Curvature

Euler Characteristic The Euler characteristic of a simplicial 2-complex K=(V,E,F) is the constant χ = 1 χ = 0 χ = 2

Topological Invariance of the Euler Characteristic Fact. (L Huilier) For simplicial surfaces w/out boundary, the Euler characteristic is a topological invariant. E.g., for a torus of genus g, χ = 2-2g (independent of the particular tessellation). g = 2 g = 0 g = 1

Angle Defect The angle defect at a vertex i is the deviation of the sum of interior angles from the Euclidean angle sum of 2#: i k Intuition: how flat is the vertex? j

Angle Defect and Spherical Area Consider the discrete Gauss map unit normals on surface become points on the sphere dihedral angles on surface become interior angles on sphere interior angles on surface become dihedral angles on the sphere angle defect on surface becomes area on the sphere N N

Total Angle Defect of a Convex Polyhedron Consider a closed convex polyhedron in R 3 Q: Given that angle defect is equivalent to spherical area, what might we guess about total angle defect? A: Equal to 4#! (Area of unit sphere) More generally, can argue that total angle defect is equal to 4# for any polyhedron with spherical topology, and 2#(2-2g) for any polyhedron of genus g Should remind you of Gauss-Bonnet theorem

Review: Gauss-Bonnet Theorem Classic example of local-global theorems in differential geometry Gauss-Bonnet theorem says total Gaussian curvature is always 2# times Euler characteristic χ For tori, Euler characteristic expressed in terms of the genus (number of handles ) g=0 g=1 g=2 g=3 Gauss-Bonnet

Gaussian Curvature as Ratio of Ball Areas Originally defined Gaussian curvature as product of principal curvatures Can also view it as failure of balls to behave like Euclidean balls Roughly speaking, More precisely:

Discrete Gaussian Curvature as Ratio of Areas For small values of ε, we have Substitute area of Euclidean ball area of geodesic wedge Then area of geodesic ball Angle defect is CRAZY integrated curvature

Discrete Gauss Bonnet Theorem Theorem. For a smooth surface of genus g, the total Gauss curvature is Theorem. For a simplicial surface of genus g, the total angle defect is

Approximating Gaussian Curvature Many other ways to approximate Gaussian curvature E.g., locally fit quadratic functions, compute smooth Gaussian curvature Which way is best? values from quadratic fit won t satisfy Gauss-Bonnet angle defects won t converge 1 unless vertex valence is 4 or 6 In general, no best way; each choice has its own pros & cons 1 Borrelli, Cazals, Morvan, On the angular defect of triangulations and the pointwise approximation of curvatures

Schläfli Formula

Schläfli Formula Consider a closed polyhedron in R 3 with edge lengths l ij and dihedral angles φ ij. Then for any motion of the vertices,

Curvature Normals

Curvature Normals Earlier we saw vector area, which was the integral of the 2-form NdA This 2-form is one of three quantities we can naturally associate with a surface: (area normal) (mean curvature normal) (Gauss curvature normal) Effectively mixed areas of change in position & normal (more later)

Curvature Normals Derivation Let X 1, X 2 be principal curvature directions (recall that dn(x i ) = κ i df (X i )). Then

Discrete Vector Area Recall smooth vector area: Idea: Integrate NdA over dual cell to get normal at vertex p j p i Q: What kind of quantity is the final expression? Does that matter?

Discrete Mean Curvature Normal Similarly, integrating HN over a circumcentric dual cell C yields C m Since N is an in-plane 90-degree rotation, each term in the sum is parallel to the edge vector e ij The length of the vector is the length of the dual edge Ratio of dual/primal length is given by cotan formula, yielding

Mean Curvature Normal via Laplace-Beltrami Another well-known fact: mean curvature normal can be expressed via the Laplace-Beltrami operator* Fact. For any smooth immersed surface f, f = 2HN. Can discretize via the cotangent formula, leading again to *Will say much more in upcoming lectures!

Discrete Gauss Curvature Normal A similar calculation leads to an expression for the (discrete) Gauss curvature normal One key difference: rather than viewing N as linear along edges, we imagine it makes an arc on the unit sphere

Discrete Curvature Normals Summary area (NdA) mean (HNdA) Gauss (KNdA) smooth 1 2 dn dn discrete

Steiner s Formula

Steiner Approach to Curvature What s the curvature of a discrete surface (polyhedron)? Simply taking derivatives of the normal yields a useless answer: zero except at vertices/edges, where derivative is ill-defined ( infinite ) Steiner approach: smooth out the surface; define discrete curvature in terms of this mollified surface

Minkowski Sum Given two sets A, B in R n, their Minkowski sum is the set of points Example. Example. A B A+B Q: Does translation of A, B matter?

Mollification of Polyhedral Surfaces Steiner approach mollifies polyhedral surface by taking Minkowski sum with ball of radius ε > 0 Measure curvature, take limit as ε goes to zero to get discrete definition (Have to think carefully about nonconvex polyhedra )

Mixed Area Suppose we express the area of a Minkowski sum sa + tb as area(sa + tb) = s 2 area(a) + 2st area(a,b) + t 2 area(b) This expression defines the mixed area area(a,b) (s := 1 t) t = 0 t = 1/4 t = 1/2 t = 3/4 t = 1

Mixed Area Examples A A B B A+B A+B

Steiner Formula Theorem. (Steiner) Let A be any convex body in R n, and let B ε be a ball of radius ε. Then the volume of the Minkowski sum A+B ε can be expressed as a polynomial in ε: Constant coefficients are called quermassintegrals, and determine how quickly the volume grows This volume growth in turn has to do with (discrete) curvature, as we are about to see

Gaussian Curvature of Mollified Surface 3 R; Q: Consider a closed, convex polyhedron in what s the Gaussian curvature K of the mollified surface for a ball of radius ε? Triangles: Edges: Vertices? each contributes a piece of sphere of radius ε (K=1/ε2) recall (unit) spherical area given by angle defect 'i total curvature associated with vertex i is then (Spherical polygon is all normals associated with vertex.)

Mean Curvature of Mollified Surface Q: What s the mean curvature H of the mollified surface? Faces: H = 0 Edges? each contributes a piece of a cylinder (H=1/2ε) area of cylindrical piece is total mean curvature for edge is hence Vertices? each contributes a piece of the sphere (H=1/ε) area is ('i/4#) 2 4#ε = 2 'iε total mean curvature for vertex is then Hi = 'iε

Area of a Mollified Surface Q: What s the area of the mollified surface? Faces: just the original area Aijk Edges: Vertices: 2 'iε Total area of the whole surface is then By (discrete) Gauss-Bonnet, last term is also 2#χ

Volume of Mollified Surface Q: What s the total volume of the mollified surface? Starting to see a pattern if V0 is original volume, then Q: How did we get here from our area expression? A: Increasing radius by ε increases volume proportional to area

Steiner Polynomial for Polyhedra in 3 R Volume of mollified polyhedron is a polynomial in radius ε Derivatives w.r.t. ε give total area, mean curvature, Gauss curvature Q: Why are there only four terms?

Curvature Variations

Sequence of Variations (Smooth) For a smooth surface f : M R 3 (without boundary), let How can we move the surface so that each of these quantities changes as quickly as possible? Remarkably enough

Discrete Normal via Volume Variation Recall that we still don t have a clear definition for discrete normals at vertices, where the surface is not differentiable? However, in the smooth setting we know that the normal is equal to (half) the volume gradient Idea: Since volume is perfectly well-defined for a discrete surface, why not use volume gradient to define vertex normals? Now just need to calculate the gradient of volume with respect to motion of one of the vertices, which we can do using our geometric approach

Volume Enclosed by a Smooth Surface What s the volume enclosed by a smooth surface f? da One way: pick any point p, integrate volume of infinitesimal pyramids over the surface h For a pyramid with base area b and height h, the p volume is V = bh/3 (no matter what shape the base is) For our infinitesimal pyramid, the height is the distance from the surface f to the point p along the normal direction: The area of the base is just the infinitesimal surface area da. Now we just integrate Notice: doesn t depend on choice of point p!

Volume Enclosed by a Discrete Surface What s the volume enclosed by a discrete surface? Simply apply our smooth formula to a discrete f! f j Exercise. Show that the volume enclosed by a simplicial surface can be expressed as f i f k

Discrete Volume Gradient Taking the gradient of enclosed volume with respect to the position f i of some vertex i should now give us a notion of vertex normal: But wait this expression is the same as the discrete area vector! In other words: taking the gradient of discrete volume gave us exactly the same thing as integrating the normal over the dual cell. Agrees with the first expression in our sequence of variations:

Total Area of a Discrete Surface Total area of a discrete surface is simply the sum of the triangle areas: j A ijk i k Q: Suppose f is not a discrete immersion. Is area well-defined? Differentiable?

Discrete Area Gradient Recall that the gradient of triangle area with respect to position p of a vertex is just half the normal cross the opposite edge: By summing contribution of all triangles touching a given vertex, can show that gradient of total surface area with respect to vertex coordinate f i is Agrees with second expression in our sequence:

Total Mean Curvature of a Discrete Surface From our Steiner polynomial, we know the total mean curvature of a discrete surface is (In fact, total volume and area used for the previous two calculations also agree with Steiner polynomial )

Discrete Mean Curvature Gradient What s the gradient of total mean curvature with respect to a particular vertex position f i? Agrees with third expression in our sequence:

Total Gauss Curvature Total Gauss curvature of a discrete surface is sum of angle defects: From (discrete) Gauss-Bonnet theorem, we know this sum is always equal to just 2#χ = 2#(V-E+F) Gradient with respect to motion of any vertex is therefore zero sequence ends here!

Discrete Curvature Panoramic View

Thanks! DISCRETE DIFFERENTIAL GEOMETRY: AN APPLIED INTRODUCTION Keenan Crane CMU 15-458/858B Fall 2017