Algorithm 2.
Hyperbolic Ricci Flow with Newton’s Optimization
Input: A triangular mesh Σ(V, E, F). | |
Output: Hyperbolic metric of Σ. | |
1 | Compute the initial ri for each vertex υi and the weight ϕij for each edge eij. |
2 | Set the target Gaussian curvature as zero. |
3 |
repeat
|
until
the resulting Gaussian curvature of all vertices is less than a user-defined threshold. |