Voronoi Cells in Metric Algebraic Geometry of Plane Curves
Madeline Brandt, Madeleine Weinstein

TL;DR
This paper explores how Voronoi and Delaunay cells of plane curves relate to their metric geometry, providing algebraic descriptions and methods to approximate key features from finite samples.
Contribution
It proves that Voronoi and Delaunay cells of plane curves can be approximated as limits of sampled cells, linking discrete samples to continuous metric features.
Findings
Voronoi and Delaunay cells can be obtained as limits of sampled cells.
Provides algebraic equations for medial axis, curvature, evolute, bottlenecks, and reach.
Offers formulas for degrees of algebraic varieties representing these features.
Abstract
Voronoi cells of varieties encode many features of their metric geometry. We prove that each Voronoi or Delaunay cell of a plane curve appears as the limit of a sequence of cells obtained from point samples of the curve. We use this result to study metric features of plane curves, including the medial axis, curvature, evolute, bottlenecks, and reach. In each case, we provide algebraic equations defining the object and, where possible, give formulas for the degrees of these algebraic varieties. We show how to identify the desired metric feature from Voronoi or Delaunay cells, and therefore how to approximate it by a finite point sample from the variety.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Numerical Analysis Techniques · Computational Geometry and Mesh Generation · 3D Shape Modeling and Analysis
Voronoi Cells in Metric Algebraic Geometry of Plane Curves
Madeline Brandt
Department of Mathematics, Brown University
and
Madeleine Weinstein
Department of Mathematics, Stanford University
Abstract.
Voronoi cells of varieties encode many features of their metric geometry. We prove that each Voronoi or Delaunay cell of a plane curve appears as the limit of a sequence of cells obtained from point samples of the curve. We use this result to study metric features of plane curves, including the medial axis, curvature, evolute, bottlenecks, and reach. In each case, we provide algebraic equations defining the object and, where possible, give formulas for the degrees of these algebraic varieties. We show how to identify the desired metric feature from Voronoi or Delaunay cells, and therefore how to approximate it by a finite point sample from the variety.
1. Introduction
Metric algebraic geometry addresses questions about real algebraic varieties involving distances. For example, given a point on a real algebraic plane curve , we may ask for the locus of points which are closer to than to any other point of . This is called the Voronoi cell of at [12]. The boundary of a Voronoi cell consists of points which have more than one nearest point to . So we may ask, given a point in , how close must it be to in order to have a unique nearest point on ? This quantity is called the reach, and was first defined in [19].
We use Voronoi cells and their duals, Delaunay cells (see Definition 2.3), to study metric features of plane curves. The following theorem makes precise the idea behind Figures 1 and 2.
Theorem 1**.**
Let be a compact algebraic curve in and be a sequence of finite subsets of containing all singular points of such that every point of is within distance of some point in .
- (1)
Every Voronoi cell is the Wijsman limit (see Definition 2.10) of a sequence of Voronoi cells of . 2. (2)
If is not tangent to any circle in four or more points, then every maximal Delaunay cell is the Hausdorff limit (see Definition 2.9) of a sequence of Delaunay cells of .
Voronoi diagrams of finite point sets are widely studied and have seen applications across science and technology, most notably in the natural sciences, health, engineering, informatics, civics and city planning. For example in Victoria, a state in Australia, students are typically assigned to the school to which they live closest. Thus, the catchment zones for schools are given by a Voronoi diagram [1]. Metric features of varieties, such as the medial axis and curvature of a point, can be detected from the Voronoi cells of points sampled densely from a variety. Computational geometers frequently use Voronoi diagrams to approximate these features and reconstruct varieties [7, 8, 3].
The reach of an algebraic variety is an invariant that is important in applications of algebraic topology to data science. For example, the reach determines the number of sample points needed for the technique of persistent homology to accurately determine the homology of a variety [26]. For an algebraic geometric perspective on the reach, see [9]. The medial axis of a variety is the locus of points which have more than one nearest point on . This gives the following definition of the reach.
Definition 1.1**.**
The reach of an algebraic variety is the infimum of the set of distances from any point on to a point on the medial axis of .
The paper [2] describes how the reach is the minimum of two quantities. We have
[TABLE]
where is the minimum radius of curvature (Definition 4.1) of points in and is the narrowest bottleneck distance (Definition 5.2). An example is depicted in Figure 3.
The paper is organized as follows. We begin with a systematic treatment in Section 2 of convergence of Voronoi cells of increasingly dense point samples of a variety. Here, we also introduce Delaunay cells, which are dual to Voronoi cells but are compact, and thus able to exhibit Hausdorff convergence. This gives the proof of Theorem 1, split among Theorems 2.13 and 2.16, as well as Proposition 2.20, which treats the singular case separately. Theorem 1 is robust because it is not affected by the distribution of the point sample. Theorem 1 provides the theoretical foundations for estimating metric features of a variety from a point sample. We do this for the medial axis (Section 3), curvature and evolute (Section 4), bottlenecks (Section 5) and reach (Section 6). For each of these metric features, we first give defining equations and where possible a formula for the degree. We then turn our attention to detecting information about a real plane curve from its Voronoi cells. For each metric feature, we state a theoretical result about how to detect the feature from the Voronoi cells of or a subset of . Corollaries to Theorem 1 provide convergence results for these features. The overall aim is to give a path to compute the metric features of an algebraic plane curve from Voronoi cells of dense point samples of . We use the butterfly curve
[TABLE]
in our examples. In computational geometry and data science, these problems are often considered when there is noise in the sample. In this paper we assume that our samples lie precisely on the curve .
2. Voronoi and Delaunay Cells of Varieties and Their Limits
Let be a nonempty real algebraic variety, that is, the zero locus of a set of polynomial equations with real coefficients. We note that this definition allows a variety to be reducible. We call a curve if it is of dimension and say is smooth if the real locus is smooth. Let denote the Euclidean distance between two points .
Definition 2.1**.**
The Voronoi cell of is
[TABLE]
An example of a Voronoi cell is given in Figure 4. This is a convex semialgebraic set whose dimension is equal to so long as is a smooth point of . It is contained in the normal space to at :
[TABLE]
The topological boundary of the Voronoi cell consists of the points in that have two or more closest points in , one of which is . The collection of boundaries of Voronoi cells is described as follows.
Definition 2.2**.**
The medial axis of an algebraic variety is the collection of points in that have two or more closest points in . An example of the medial axis is given in Figure 4.
Let denote the open disc with center and radius . We say this disc is inscribed with respect to if and we say it is maximally inscribed if no disc containing shares this property. Each inscribed disc gives a Delaunay cell, defined as follows.
Definition 2.3**.**
Given an inscribed disc of an algebraic variety , the Delaunay cell is An example of a Delaunay cell and the corresponding maximally inscribed disc is given in Figure 4.
Remark 2.4**.**
For plane curves, the collection of centers of all inscribed spheres which give maximal Delaunay cells (Delaunay cells which are not contained in any other Delaunay cell) is the Euclidean closure of the medial axis. Points of an algebraic plane curve which are themselves maximal Delaunay cells are points of with locally maximal curvature. In this case, the maximally inscribed circle is an osculating circle, see Definition 4.1.
We now describe two convex sets whose face structures encode the Delaunay and Voronoi cells of . We embed in by adding a coordinate. We usually imagine that this last coordinate points vertically upwards. So, we say that is below if and all other coordinates are the same. Let
[TABLE]
be the standard paraboloid in . If then let denote its lift to .
Given a convex set , a convex subset is called a face of if for every and every such that we have that . We say that a face is exposed if there exists an exposing hyperplane such that is contained in one closed half space of the hyperplane and such that . We call an exposed face a lower exposed face of if there is an exposing hyperplane lying below .
Definition 2.5**.**
The Delaunay lift of an algebraic variety is the convex set
[TABLE]
where we recall that and use to denote the Minkowski sum. The Delaunay lift of the butterfly curve is shown in Figure 5.
We now study how the lower exposed faces of the Delaunay lift project to , and give the Delaunay cells of .
Proposition 2.6**.**
Let be an algebraic variety. Let be the projection onto the first coordinates. A subset is a lower exposed face if and only if is a Delaunay cell of . Furthermore, if is the hyperplane exposing , then is an inscribed sphere of and
Proof.
The map from defined by lifts every sphere in to the intersection of a hyperplane with [23, Proposition 7.17]. Moreover, the projection of the intersection of any hyperplane (satisfying ) with gives a sphere in [23, Proposition 7.17].
Given a Delaunay cell for some inscribed sphere , we have that lies above the corresponding hyperplane . This is because any points below would project to points in lying inside of , contradicting the condition that for an inscribed disc . So, is the exposing hyperplane of the face .
Suppose is a lower exposed face with exposing hyperplane . The interior of the sphere contains no points of , because if it did contain a point , then would lie in the lower half-space of , which does not intersect . Then is the inscribed disc corresponding to a Delaunay cell.
Since is a sphere, we have . Let denote the lift of to . Then and so . ∎
We may define a convex set whose faces project down to the Voronoi cells as follows. For any point , let denote the hyperplane in through tangent to the paraboloid . Let be the closed half-space consisting of all points in lying above the hyperplane .
Definition 2.7**.**
The Voronoi lift of an algebraic variety is the convex set . The Voronoi lift of the butterfly curve is shown in Figure 6.
The lower exposed faces of the Voronoi lift project to Voronoi cells of , as we now show.
Proposition 2.8**.**
Let be an algebraic variety. Let be the projection onto the first coordinates. A subset of the Voronoi lift is an exposed face of if and only if is a Voronoi cell of . Furthermore, if is the hyperplane exposing and , then is a point and
Proof.
For some point , consider . Let . There exists with . The distance from to the point is the square of the distance [23, Lemma 6.11]. Therefore, consists of those points for which the distance is minimal over all . In other words, .
Suppose is an exposed face with exposing hyperplane such that . Let . Since we have that . Then, . This implies is the tangent hyperplane to at the point , so in particular, . Since is on the boundary of , we have and . We have , where in the second equality we use the result in the preceding paragraph. ∎
There is a sense in which the Voronoi lift and the Delaunay lift are dual. We now describe this relationship. Suppose that is not contained in any proper linear subspace of . This implies that is pointed, meaning it does not contain a line. Therefore, it is projectively equivalent to a compact set [23, Theorem 3.36]. Embed into by the map
[TABLE]
Let be the transformation of defined by the following matrix
[TABLE]
Then by [23, Lemma 7.1] the projective transformation maps to the sphere . The tangential hyperplane at the north pole is the image of the hyperplane at infinity. Moreover, the topological closure of is a compact convex body so long as the origin is in the interior of . In this case, we call the convex body the Voronoi body. The Voronoi body is full dimensional and contains the origin in its interior. Its polar dual
[TABLE]
is also full dimensional and has the origin in its interior. If we apply to we obtain an unbounded polyhedron, which is exactly the Delaunay lift of . For more details, see [23].
We now study convergence of Voronoi and Delaunay cells. More precisely, given a real algebraic curve and a sequence of samplings with , we show that Voronoi (or Delaunay) cells from the Voronoi (or Delaunay) cells of the limit to Voronoi (or Delaunay) cells of . We begin by introducing two notions of convergence which describe the limits.
The Hausdorff distance of two compact sets and in is defined as
[TABLE]
More intuitively, we can define this distance as follows. If an adversary gets to put your ice cream on either set or with the goal of making you go as far as possible, and you get to pick your starting place in the opposite set, then is the farthest the adversary could make you walk in order for you to reach your ice cream.
Definition 2.9**.**
A sequence of compact sets is Hausdorff convergent to if as .
Definition 2.10**.**
Given a point and a closed set , define
[TABLE]
A sequence of compact sets is Wijsman convergent to if for every , we have that
[TABLE]
An -approximation of a real algebraic variety is a discrete subset such that for all there exists an so that . By definition, when is compact a sequence of -approximations as approaches 0 is Hausdorff convergent to . For all , a sequence of -approximations as approaches 0 is Wijsman convergent to . We use Wijsman convergence as a variation of Hausdorff convergence which is well suited for unbounded sets. Delaunay cells are always compact, while Voronoi cells may be unbounded.
We now study convergence of Delaunay cells of , and introduce a condition on real algebraic varieties which ensures that the Delaunay cells are simplices.
Definition 2.11**.**
We say that an algebraic variety is Delaunay-generic if does not meet the closure of any maximally inscribed disc at greater than points.
Example 2.12**.**
The standard paraboloid in any dimension is not Delaunay-generic because it contains -spheres.
Although the focus of this paper is on algebraic curves in , we state the following theorem for curves in because the proof holds at this level of generality.
Theorem 2.13**.**
Let be a Delaunay-generic compact algebraic curve, and let be a sequence of -approximations of . Every maximal Delaunay cell is the Hausdorff limit of a sequence of Delaunay cells of .
Proof.
Consider a sequence of -approximations of , where indicates a decreasing sequence of positive real numbers for . We will study the convex sets where lifts to the paraboloid . The lower faces of project to Delaunay cells of [23, Theorem 6.12, Theorem 7.7].
We now apply [13, Theorem 3.5] to our situation. This result says the following. Let be a curve and be a sequence of -approximations of . Suppose every point on which is contained in the boundary of is an extremal point of , meaning it is not contained in the open line segment joining any two points of . Let be a simplicial face of which is an exposed face of with a unique exposing hyperplane. Then is the Hausdorff limit of a sequence of facets of . We apply this result in the case when and .
Since every point on is extremal in and , every point on which is contained in the boundary of is also extremal in . A maximal Delaunay cell of is a simplex because is Delaunay-generic. Consider a maximal Delaunay cell of which is not a vertex. It has a unique description as for a disc . Proposition 2.6 establishes a one-to-one correspondence between such Delaunay cells and lower exposed faces of , which are uniquely exposed by the hyperplane containing . In this case, [13, Theorem 3.5] holds, so the result is proved.
If a maximal Delaunay cell is a vertex, then it is a point . It is then also an extremal point of . Since is sequence of compact convex sets converging in the Hausdorff sense to , by [13, Lemma 3.1] there exists a sequence of points of which are extremal points of converging to . So, their projections are Delaunay cells of converging to , since every point in a finite point set is a Delaunay cell of that point set. ∎
We will now study limits of Voronoi cells, using results from [7], which studies convergence of Voronoi cells of r-nice sets (for a definition, see [7, p. 119]). In the plane, these are open sets whose boundary satisfies some properties. In particular, open sets whose boundaries are an algebraic curve with positive reach satisfy the -nice condition. All closed submanifolds of have positive reach, and thus in particular, a compact smooth algebraic curve in has positive reach; we refer the reader to [29] for further discussion of which sets have positive reach.
To study continuity and convergence of closed sets in the plane, Brandt uses the hit-miss topology on the set of closed subsets of the plane [24, Section 1-2].
Definition 2.14**.**
In the hit-miss topology, a sequence converges to if and only if
- (1)
for any , there is a sequence such that ; and 2. (2)
if there exists a subsequence converging to a point , then .
Then, to determine if a function with range in is continuous, we need to examine the above conditions for sequences of sets obtained by applying the function to countable convergent sequences in If all such sequences satisfy (1) then the function is upper-semicontinuous. If all such sequences satisfy (2) then it is lower-semicontinuous. If a function satisfies both then it is continuous.
Lemma 2.15**.**
Let be a smooth algebraic plane curve. Then the function sending is continuous in the hit-miss topology.
Proof.
By [7, Theorem 2.2], the Voronoi function is lower semicontinuous. By [7, Theorem 3.2], if the curve is and the skeleton (locus of centers of maximally inscribed discs) is closed, then the Voronoi function is continuous. A smooth algebraic curve is . The skeleton is closed because a smooth curve satisfies the -nice condition, and -nice curves have closed skeletons [7]. ∎
By [24, p.10], convergence in the hit-miss topology is equivalent to Wijsman convergence. In what follows, we rephrase the results from [7] in the setting of Wijsman convergence of Voronoi cells of plane curves, and extend them to singular curves.
Theorem 2.16**.**
Let be a compact smooth algebraic curve in and be a sequence of -approximations of . Every Voronoi cell is the Wijsman limit of a sequence of Voronoi cells of .
Proof.
By Lemma 2.15, the function is continuous. Theorem 3.1 from [7] states that in this case, if is a sequence such that and , then . Such a sequence must exist because for all , there exists a such that . ∎
We now investigate the structure of Voronoi cells of different types of singular points. We show examples in which the Voronoi cell at a singular point is [math]-, -, and - dimensional in Proposition 2.18 and Figure 7. First, we need a glueing lemma.
Lemma 2.17**.**
Let and be subsets of containing a point . Then
[TABLE]
Proof.
A point is closer to than it is to any other point of or . On the other hand, a point in is closer to than it is to any other point of or . ∎
Proposition 2.18**.**
Let be a real algebraic plane curve and be a singular point.
- (1)
If is a node, then its Voronoi cell is 0-dimensional and equal to ; 2. (2)
If is a tacnode, then its Voronoi cell is 1-dimensional. 3. (3)
If is an isolated point, its Voronoi cell is 2-dimensional;
Proof.
- (1)
If is a node, then we claim that the only point contained in is . At , the curve meets in two branches which have distinct tangent directions at . If we treat this as two separate 1-dimensional subsets and and apply Lemma 2.17, we see that . But, since is a smooth point of and , the Voronoi cells and are each contained in their respective normal directions, which are distinct. Therefore, . 2. (2)
If is a tacnode, two branches of the curve meet at where they share a tangent direction, and thus a normal line. We can choose so that we can separate into subsets and corresponding to the two branches. Both and are -dimensional subsets of the same normal line. By Lemma 2.17, is a -dimensional subset of this normal line. 3. (3)
Suppose is an isolated point. Then there is a ball centered at such that the ball contains no other points of the curve . Therefore, the ball is entirely contained in , so it is -dimensional.
∎
Example 2.19**.**
In this example we illustrate why Theorem 2.16 fails when the curve has a singular point. From this example it will be clear that the singular points must be included in the samples , and it turns out that this condition is enough to extend Theorem 2.16 to the singular case.
Consider the curve defined by the equation . In [12, Remark 2.4] the authors give equations for the Voronoi cell of the cusp at the origin. This region is
[TABLE]
In Figure 8 we give three -approximations of the curve and the corresponding Voronoi decompositions. Let . The points in the -approximation are given by:
[TABLE]
As we can see in Figure 8, there is no sequence of cells converging to because the -axis, present due to the symmetrical nature of the sample, always divides the Voronoi cell.
We now are able to expand Theorem 2.16 to include singular varieties.
Proposition 2.20**.**
Let be a compact algebraic curve and a sequence of -approximations with the singular locus for all . Then every Voronoi cell of is the Wijsman limit of a sequence of Voronoi cells of .
Proof.
By [7, Theorem 2.2], the Voronoi function is always lower-semicontinuous. So, we must show that condition (1) in Definition 2.14 holds. That is, we need that for all , there is a sequence with such that for any there is an with . We distinguish the cases when is smooth and singular.
If is a smooth point on , and , there exists an such that and are both in the Voronoi cell for some .
Suppose now that is a singular point. We wish to show that there is a sequence of Voronoi cells converging to , and we take the sequence . To establish convergence, it is now enough to show that for all , there is an with . Since , we have that is closer to than it is to any other point in . So, in particular, .
Now we have shown that for each , condition (1) in Definition 2.14 holds. Therefore, for each , we have sequences of Voronoi cells which are convergent to in the hit-miss topology. Since convergence in the hit-miss topology and Wijsman convergence are equivalent, every Voronoi cell of is the Wijsman limit of a sequence of Voronoi cells of the . ∎
This concludes the proof of Theorem 1.
3. Medial Axis
Let be a smooth algebraic plane curve. We now study the medial axis of , as defined in Definition 2.2. The Zariski closure of the medial axis is an algebraic variety which has the same dimension as the medial axis. We can obtain equations in variables for the ideal of a variety containing the Zariski closure of the medial axis in the following way.
Let and be two points on . Then, and satisfy the equations
[TABLE]
If is equidistant from and then
[TABLE]
Furthermore, must be a critical point of the distance function from both and . Thus we require that the determinants of the following augmented Jacobian matrices vanish:
[TABLE]
where and denote the partial derivatives of and , respectively. Let
[TABLE]
Then, is an ideal whose variety contains the Zariski closure of the medial axis.
We now study the medial axis from the perspective of Voronoi cells. It has been observed that an approximation of the medial axis arises as a subset of the Voronoi diagram of finitely many points sampled densely from a curve [15]. We now discuss theoretical results given in [7] about the convergence of medial axes. Let be a compact smooth algebraic plane curve, and let be an -approximation of . A Voronoi cell for is polyhedral, meaning it is an intersection of half-spaces.
Definition 3.1**.**
For sufficiently small , exactly two edges of will intersect [7]. We call these edges the long edges of the Voronoi cell, and all other edges are called short edges. An example is given in Figure 9.
In this case, let denote the union of the short edges and vertices of the Voronoi cell . An -medial axis approximation is the set of all short edges
[TABLE]
Proposition 3.2**.**
([7, Theorem 3.4]) Let be a compact smooth algebraic plane curve. The medial axis approximations converge to the Euclidean closure of the medial axis.
The following corollary shows the relationship between the medial axis, parts of Voronoi diagrams, and maximally inscribed circles for -approximations.
Corollary 3.3**.**
Let be a sequence of -approximations of a compact smooth algebraic curve .
- (1)
The collection of vertices of the Voronoi diagrams of the converge to the medial axis. 2. (2)
The collection of centers of maximally inscribed discs of the converge to the medial axis.
Proof.
This is a consequence of Theorem 2.13, Theorem 2.16, and Proposition 3.2. ∎
Example 3.4**.**
In Figure 10 we display the centers of maximally inscribed circles, or equivalently circumcenters of the Delaunay triangles, for an -approximation of the butterfly curve where 898 points were sampled. In Figure 11 we show the short edges of Voronoi cells from an -approximation of the butterfly curve where 101 points were sampled.
The medial axis plays an important role in applications for understanding the connected components and regions of a shape. As such, it is a very well-studied problem in computational geometry to find approximations of the medial axis from point clouds. A survey on medial axis computation is given in [6].
4. Curvature and the Evolute
Curvature of plane curves, osculating circles and evolutes have interested mathematicians since antiquity. We refer readers to works of Salmon in the 19th century [27, 28] and to modern lectures by Fuchs and Tabachnikov outlining this history [20, Chapter 3].
We now discuss the minimal radius of curvature of a plane curve. This is one of the two quantities which determines the reach, see Equation 1.
Definition 4.1**.**
Let be an algebraic curve and be a smooth point that is not a point of inflection. The osculating circle at is the circle that passes through and an additional pair of points infinitesimally close to . The center of curvature at is the center of the osculating circle at . The radius of curvature at is the distance from to its center of curvature.
An alternative definition of center and radius of curvature can be given using envelopes.
Definition 4.2**.**
The envelope of a one-parameter family of algebraic plane curves given implicitly by is a curve that touches every member of the family tangentially. The envelope is the variety defined by the ideal
[TABLE]
The envelope of the family of normal lines parametrized by the points of the curve is called its evolute. Equivalently, the evolute is the locus of the centers of curvature. A generalization of the evolute to all dimensions is called the ED discriminant, and is studied in [17]. The article shows that for general smooth algebraic plane curves, the degree of the evolute is [17, Example 7.4]. See also [28, p.95-96] for a discussion of the degree of the evolute.
We now derive a formula for the square of the radius of curvature of a plane curve at a point. Our derivation follows Salmon [28, p.84-98].
Proposition 4.3**.**
[28, p.84-86]** Let be a smooth curve of degree . The square of the radius of curvature at a point that is not a point of inflection is given by following expression in the partial derivatives of evaluated at :
[TABLE]
Proof.
The equation of a normal line to at a point in the variables is
[TABLE]
The total derivative of the equation for the normal line is
[TABLE]
The total derivative of is
[TABLE]
The equations (4), (5) are a system of two linear equations in the unknowns . We solve this system to obtain expressions for and in terms of , , and . We substitute in for the expression given by (6). The center of curvature of at a point is given by the coordinates , which are now expressions in and .
The squared radius of curvature at a point is its squared distance to its center of curvature , so we have . Substituting in the equations for and , we find
[TABLE]
We note that the denominator evaluates to zero only at points of inflection. ∎
Definition 4.4**.**
The degree of critical curvature of a smooth algebraic curve is the degree of the variety obtained by intersecting the Zariski closure with the variety of the total derivative of the equation for the squared radius of curvature. If is a smooth, irreducible algebraic curve of degree greater than or equal to , then the intersection consists of finitely many points, called the points of critical curvature. Thus the degree of critical curvature of gives an upper bound for the number of real points of critical curvature of .
Remark 4.5**.**
In the differential geometry literature, points of critical curvature are called vertices.
Theorem 4.6** ([28], p.97).**
Let be a smooth, irreducible algebraic curve. Then the degree of critical curvature of is .
We remark that the critical points of curvature of give cusps on the evolute [28, p.97]. That is, if a normal line is drawn through a point of critical curvature on a curve, then the normal line will pass through a cusp of the evolute. In addition, the evolute of a curve of degree has cusps at infinity [28, p.95]. Thus the evolute of a general plane curve of degree has cusps [28, p.97]. In Figure 12, we picture the evolute, the butterfly curve, and the pairs of critical curvature points on the butterfly curve with their corresponding cusp on the evolute.
Example 4.7**.**
Consider the butterfly curve. Using the above description, we can compute the 56 points of critical curvature using JuliaHomotopyContinuation [11]. Twelve of these points are real, and they are plotted in Figure 12. The maximal curvature is approximately . This is achieved at the lower left wing of the butterfly.
We now describe how to recover the curvature at a point from the Voronoi cells of a subset of a curve . In applications, Voronoi-based methods are used for obtaining estimates of curvature at a point. An overview of techniques for estimating curvature of a variety from a point cloud is given in [25]. Further, there are also Delaunay-based methods for estimating curvature of a surface in three dimensions [14].
Theorem 4.8**.**
Let be a smooth, irreducible plane curve of degree at least and a point that is not a critical point of curvature. Let be less than the distance to the critical point of curvature nearest to , and let be a ball of radius centered at . Then
- (1)
The Voronoi cell is a ray. The distance from to the endpoint of this ray is the radius of curvature of at . 2. (2)
Consider a sequence of -approximations of . Let be a point such that , and let be the minimum distance from to a vertex of . Then, the sequence converges to the radius of curvature of at .
Proof.
The Voronoi cell is a subset of the line normal to at . This line has an endpoint either at the center of curvature of or at a point where it intersects the normal space of a distinct point in . The point where the normals at and intersect is contained in the Voronoi cell with respect to of each of them, so in particular has a nonempty medial axis. This medial axis has an endpoint which corresponds to a point of critical curvature [21]. This contradicts the constraint on . Therefore, the endpoint of the Voronoi cell is the center of curvature of . This concludes the proof of (1).
For (2), we know that the sequence is Wijsman convergent to by Theorem 2.16. Denote by the set of vertices of . By Corollary 3.3, we also have that the sets are Wijsman convergent to the endpoint of , which we call . By the definition of Wijsman convergence, this means that for any , . By the definition of , we have and is the radius of curvature of . This concludes the second part of the proof. ∎
The evolute of a plane curve is the locus of all centers of curvature of the curve. Therefore, to find the evolute using Voronoi cells we may splice the curve into sections and apply Theorem 4.8. Let be compact and irreducible of degree greater than or equal to . Let denote the points of locally maximal curvature and denote the centers of curvature corresponding to points in . Then consists of finitely many components . Let denote the reach of , and cover each by balls of radius less than . Let denote the collection of vertices of Voronoi cells of . Then by Theorem 4.8, . Furthermore, for -approximations of , the union over of their Voronoi vertices will converge to by Theorem 2.16. To find the evolute one need only to add the finite set of points .
5. Bottlenecks
As in the colloquial sense of the word, a bottleneck refers to a narrowing of a variety, or a place where it gets closer to self-intersection. Consider a smooth algebraic variety . We define by for . For a point , let denote the embedded tangent space of translated to the origin. Then the Euclidean normal space of at is defined as .
Definition 5.1**.**
A bottleneck of a smooth algebraic variety is a pair of distinct points such that , where is the line spanned by and .
We note that bottlenecks are given not only by the narrowest parts of the variety, but also by maximally wide parts of the variety, as our algebraic definition considers all critical points rather than just the minimums. The bottlenecks of the butterfly curve are shown in Figure 13.
Definition 5.2**.**
The narrowest bottleneck distance of a variety is
[TABLE]
where is the Euclidean distance between and .
We will now describe the bottleneck locus in which consists of the bottlenecks of [16]. Let be the ideal of . Consider the ring isomorphism defined by and let . Then and have gradients and with respect to and , respectively. The augmented Jacobian is the following matrix of size with entries in :
[TABLE]
where is the row vector . Let denote the ideal in generated by and the minors of . Then the points of the variety defined by are the points such that . In the same way we define a matrix and an ideal by replacing with and with .
The bottleneck locus is the variety
[TABLE]
The saturation removes the diagonal, as is not a bottleneck if .
Next, we give the bottleneck degree, which is a measure of the complexity of computing all bottlenecks of an algebraic variety. We refer readers to [18] for a discussion of the numerical algebraic geometry of bottlenecks. Under suitable genericity assumptions described in [16], it coincides with twice the number of bottlenecks of the complexification of . The factor of is attributed to the fact that in the product , the points and are distinct, though they correspond to the same pair of points in .
Theorem 5.3** ([16]).**
Under certain genericity assumptions, the degree of the bottleneck locus of a smooth algebraic curve of degree is
[TABLE]
A degree formula for the bottleneck locus of varieties of any dimension is provided in [16]. The proof applies the double point formula from intersection theory to a map taking the variety to a variety of its normals.
Example 5.4**.**
We now compute the bottlenecks for the quartic butterfly curve . Theorem 5.3 predicts that there are bottlenecks. Using the description above and JuliaHomotopyContinuation [11], we obtain the 96 bottleneck pairs. Of these, 22 are real. We show them in Figure 13.
We now study bottlenecks from the perspective of Voronoi cells. For a smooth point in a algebraic curve , the Voronoi cell is a 1-dimensional subset of the normal line to at the point . Therefore, the normal direction can be recovered from the Voronoi cell . For sufficiently small , an -approximation of will have Voronoi cells whose long edges approximate the normal direction. More precisely, by Theorem 2.16, if is the point such that , then the directions of the long edges of converge to the normal direction at . We remark here that the problem of estimating normal directions from Voronoi cells is well-studied, and numerous efficient, robust algorithms exist [4, 5, 25].
As in Definition 5.1, two points form a bottleneck if their normal lines coincide. This implies that the line connecting them contains both and .
Definition 5.5**.**
Let be an -approximation of an algebraic curve . We say a pair is an approximate bottleneck reach candidate if the line joining and meets each of and at short edges of those cells.
In Figure 14 we show the approximate bottleneck reach candidates for 348 points sampled from the butterfly curve. The following result gives conditions for bottleneck pairs to be the limit of approximate bottleneck reach candidates.
Theorem 5.6**.**
Let be a sequence of -approximations of a smooth algebraic curve . If is a bottleneck pair of such that the midpoint of the line segment is on the medial axis of and this is the only place where meets the medial axis, then there are sequences of approximate bottleneck reach candidates converging to and . In particular, if is a bottleneck pair of that achieves the reach, then there are sequences of approximate bottleneck reach candidates converging to and .
Proof.
Let be a bottleneck pair and suppose that the midpoint of the line segment joining and is on the medial axis of and this is the only place where meets the medial axis. We note that this condition holds in particular if and are a bottleneck pair that achieves the reach. Then intersects the short edges of exactly two Voronoi cells and in a point . Then, and form an approximate bottleneck reach candidate by definition. We must then show that the sequence converges to and the sequence converges to .
Since is in the normal space of , there exists a neighborhood of such that the nearest point of the intersection of this neighborhood and to is . So for smaller than the radius of this neighborhood, one of the two points in on either side of as one moves along must be the one whose Voronoi cell contains . Since is the point whose Voronoi cell contains , we have that is one of the two closest points in to , meaning that . Hence, converges to . Similarly, converges to . ∎
6. Reach
Example 6.1**.**
We may find the reach of the butterfly curve by taking the minimum of half the narrowest bottleneck distance and the minimum radius of curvature. This is shown in Figure 3. From the computations in Example 5.4, we find that the narrowest bottleneck distance is approximately . Meanwhile, from Example 4.7, we find that the minimum radius of curvature is approximately . Therefore, the reach of the butterfly is approximately .
In previous sections, we describe how the reach is the minimum of the minimal radius of curvature and half of the narrowest bottleneck distance. We also give equations for the ideal of the bottlenecks and for the ideal of the critical points of curvature. We now give Macaulay2 [22] code to compute these ideals for smooth algebraic curves . Here, the expression for crit comes from using Lagrange multipliers to find critical points of the affine radius of curvature subject to the constraint given by the curve . Finding the points in these ideals, using for example JuliaHomotopyContinuation [11], and taking appropriate minimums gives the reach of . See [10] for an alternate technique for computing the reach in Julia.
R=QQ[x_1,x_2,y_1,y_2] f= x_1^4 - x_1^2x_2^2 + x_2^4 - 4x_1^2 - 2x_2^2 - x_1 - 4x_2 + 1 g=sub(f,{x_1=>y_1,x_2=>y_2}) augjacf=det(matrix{{x_1-y_1,x_2-y_2},{diff(x_1,f),diff(x_2,f)}}) augjacg=det(matrix{{y_1-x_1,y_2-x_2},{diff(y_1,g),diff(y_2,g)}}) bottlenecks=saturate(ideal(f,g,augjacf,augjacg),ideal(x_1-y_1,x_2-y_2))
R=QQ[x,y] f=x^4 - x^2y^2 + y^4 - 4x^2 - 2y^2 - x - 4y + 1 num=(diff(x,f))^2 + (diff(y,f))^2 denom=-(diff(y,f))^2diff(x,diff(x,f)) + 2diff(x,f)diff(y,f)diff(y,diff(x,f)) - (diff(x,f))^2diff(y,diff(y,f)) crit=det(matrix({{numdiff(x,denom)- 3/2denomdiff(x,num), numdiff(y,denom)-3/2denom*diff(y,num)},{diff(x,f),diff(y,f)}})) criticalcurvature=ideal(f,crit)
Alternatively, one can estimate the reach from a point sample. The paper [2] provides a method to do so. We provide a substantially different method that relies upon computing Voronoi and Delaunay cells of points sampled from the curve. We have already discussed how to approximate bottlenecks and curvature using Voronoi cells. This gives the following Voronoi-based Algorithm 1 for approximating the reach of a curve.
The reach is equivalently defined as the minimum distance to the medial axis, which suggests the following Delaunay-based Algorithm 2 for estimating the reach. This algorithm is susceptible to sample error, and to give accurate results would require more sophisticated techniques.
The approximate methods can be used with curves of higher degree, while the symbolic methods are hard to compute for curves with degrees even as low as , but give a more accurate estimate for the reach. This suggests that more work can be done to develop fast and accurate methods to compute the reach of a variety.
Acknowledgements
We thank Paul Breiding, Diego Cifuentes, Yuhan Jiang, Daniel Plaumann, Kristian Ranestad, Rainer Sinn, Bernd Sturmfels, and Sascha Timme for helpful discussions. We thank the referees for their thoughtful comments and suggestions for improving the paper. Research on this project was carried out while the authors were based at the Max Planck Institute for Mathematics in the Sciences (MPI-MiS) in Leipzig, Germany. This material is based upon work supported by the National Science Foundation Graduate Research Fellowship Program under Grant No. DGE 1752814. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Victoria school districts. http://melbourneschoolzones.com/ .
- 2[2] Eddie Aamari, Frédéric Chazal, Jisu Kim, Bertrand Michel, Alessandro Rinaldo, and Larry Wasserman. Estimating the reach of a manifold. Electron. J. Statist. , 13(1):1359–1399, 2019.
- 3[3] P. Alliez, D. Cohen-Steiner, Y. Tong, and M. Desbrun. Voronoi-based variational reconstruction of unoriented point sets. In Proceedings of the Fifth Eurographics Symposium on Geometry Processing , SGP ’07, pages 39–48, Aire-la-Ville, Switzerland, Switzerland, 2007. Eurographics Association.
- 4[4] Pierre Alliez, David Cohen-Steiner, Yiying Tong, and Mathieu Desbrun. Voronoi-based variational reconstruction of unoriented point sets. In Proceedings of the Fifth Eurographics Symposium on Geometry Processing , SGP ’07, pages 39–48, Aire-la-Ville, Switzerland, Switzerland, 2007. Eurographics Association.
- 5[5] Nina Amenta and Marshall Bern. Surface reconstruction by Voronoi filtering. Discrete Comput. Geom. , 22(4):481–504, 1999. 14th Annual ACM Symposium on Computational Geometry (Minneapolis, MN, 1998).
- 6[6] Dominique Attali, Jean-Daniel Boissonnat, and Herbert Edelsbrunner. Stability and Computation of Medial Axes - a State-of-the-Art Report , pages 109–125. Springer Berlin Heidelberg, Berlin, Heidelberg, 2009.
- 7[7] Jonathan W. Brandt. Convergence and continuity criteria for discrete approximations of the continuous planar skeleton. CVGIP: Image Understanding , 59(1):116 – 124, 1994.
- 8[8] Jonathan W. Brandt and V. Ralph Algazi. Continuous skeleton computation by Voronoi diagram. CVGIP: Image Understanding , 55(3):329 – 338, 1992.
