Appearance
Harmonic angle
Why an angle of its own
A radius function
furca therefore describes each section as a closed curve
Definition
Let
Two properties make it the right angle for a cross-section:
- It reduces to the polar angle. On a straight tube whose section does not change along it,
is the normalized axial coordinate and is times the normalized arc length around the section. On a circular section centred on the centerline, that is the polar angle , so the star-shaped model is recovered. - It needs no centre. It is defined by the surface alone, so it exists for any section shape, whether or not the section encloses its centerline point.
Construction
A multivalued function is computed as a single-valued one with a jump across a cut.
- Seam. From the inlet vertex of smallest index, follow the path of steepest ascent of
along edges to the outlet. Since has no interior maximum, the path is simple and always ends on the outlet. - Jump. Let
be the 1-form on the edges that is on every edge leaving a seam vertex to one side of the seam, and zero elsewhere. It is closed (it sums to zero around every triangle) and counts how often a path crosses the seam: around the tube, . - Harmonic representative.
minimizes the Dirichlet energy with the cotangent weights [5]. Its minimizer is harmonic, has zero normal derivative on the boundaries (the natural condition) and jumps by across the seam: it is the discrete conjugate, whatever the seam, because two seams give forms that differ by times the indicator of the region between them, which only shifts by there. The normal equations are a sparse Laplacian system, solved with one vertex fixed by sparse Cholesky. - Angle.
modulo .
The weights are the exact cotangent weights. The harmonic field raises negative weights to a small positive floor so that the discrete maximum principle holds, but the angle needs no maximum principle, and raised weights bias the operator by the orientation of the triangles' diagonals: on a jittered cylinder they twist the angle by more than a radian from one end to the other. With the exact weights the twist vanishes: on a cylinder,
The exact weights are positive semi-definite as a sum of the Dirichlet energies of the triangles, as long as every triangle is a proper one. Meshes from marching cubes have near-degenerate triangles, whose cotangents are unbounded; bounding them would make their energies indefinite, and leaving them out can cut the mesh in two. The weights are therefore those of the intrinsically mollified mesh (Sharp & Crane [29]): every edge is lengthened by the same
On the straightened wall
The conjugate on the wall itself is not quite what a cross-section needs. On a bend the outer side is longer than the inner one, and the conformal angle crowds where the wall is stretched along the vessel. A circular section of a curved tube would then be parametrized unevenly, which costs coefficients for no geometric reason.
The angle is therefore computed on the straightened wall: every vertex is placed at
Orientation and origin
Accuracy
On the synthetic tubes, the angle is monotone around every ring of every preset, including those whose sections are crescents, kidneys or curled lobes. The polar angle runs backwards on between a quarter and all of their rings.
The discrete angle carries tangential noise of the order of the mesh irregularity. The wall fit removes it with a parameter correction: after a first fit, every vertex takes the angle of its nearest point on the fitted wall.