Theoremadvanced
Sederberg-Meyers loop detection
Also called loop detection criterion for surface intersection.
If a plane through the origin meets the tangent cones of two patches only at the origin, the patches cannot meet in a closed loop, so subdivision can stop without missing small loops.
The Sederberg-Meyers loop test tells when two surface patches cannot meet in a closed loop. It looks at the cone of all tangent planes of each patch. If one plane through the origin meets the two cones only at the origin, there is no loop, and every branch of the intersection runs to the boundary of a patch. A subdivision method uses the test to stop splitting a pair of pieces, because the boundary curves then give a start point on every branch.
Statement
A patch is a set , where is a closed rectangle and is a map on an open set that contains , one to one on , with . Its tangent plane at is the plane through the origin spanned by and , and its unit normal is normal to . The tangent cone of the patch is the union of all its tangent planes. A closed curve in a set is a map from a circle into the set with everywhere.
For two lines through the origin, is the angle between them.
Theorem. Let and be patches with tangent cones and . Assume that there is a vector with
- No loop. No closed curve lies in .
- Branches reach the boundary. At every common point the tangent planes differ. If the patches are , every connected component of the set of common points that are interior to both patches is a curve that is not closed, and its limit points at both ends lie on the boundary of or of .
Corollary (normal cones). Let and be unit vectors, let , and assume that for every point of , for . If
the hypothesis of the theorem holds with , so the patches do not meet in a closed curve. The condition says that the double cones meet only at the origin.
In plain words
Every surface has, at each point, a flat plane that just touches it. Collect all these touching planes of one patch, moved to a common point. They fill a region of directions in which the patch can run.
If two patches meet in a closed loop, the loop runs in a direction that both patches allow, and it turns all the way round. So it runs in every direction of some flat plane, at least once. The test looks for one flat plane that has no direction that both patches allow. If such a plane exists, a closed loop is not possible.
In a subdivision method, this means that a pair of small pieces can only meet in curves that start and end on the edges of the pieces. To find all of them, it is sufficient to look along the edges.
Proof
Part 1. Let be a closed curve in . For each , the curve lies in , and is a embedding of a neighborhood of , so is in the tangent plane . Thus
The function is continuous on a circle, so it has a maximum at some . As is differentiable, , so . This is not possible, because .
Part 2. Assume at a common point . Two planes through the origin in meet in at least a line, so holds a vector . Then , against the hypothesis. So the tangent planes differ at every common point.
Now let the patches be , and let be the set of common points that are interior points of both patches. Near , write as the zero set of a function with , so that . Since , the plane is not in , so the restriction of to has a nonzero differential at . By the implicit function theorem, is a smooth curve near . So is a smooth 1-manifold, and each connected component is diffeomorphic to a circle or to an open interval [Milnor, Appendix]. A component that is a circle is a closed curve in , which part 1 excludes. So each component is the image of a smooth embedding of an open interval .
Let be a limit point of with ; it exists because is compact, and . If , then near the set is one arc, so for large lies on the component of , which is then the component of . As is a homeomorphism onto its image, tends to , which is less than . That is a contradiction, so , and is a boundary point of or of . The same holds at .
Corollary. As , the vectors and are independent, , and is the plane spanned by and . The angle between lines is a metric, so it satisfies the triangle inequality. Let be in , and let be its line. As , lies in some , so , and
Let be the line in normal to . In the plane , , and in the same way . The quarter turn in maps to , so . Then
against the assumption. So .
For the last sentence: if is in both double cones, . Conversely, if , the line in between and at the angle from is at the angle from , so it lies in both cones.
Consequences
- A stop test for subdivision. For a pair of pieces from a subdivision, bound the normals of each piece by a cone with axis and half angle . For a Bézier piece, such a cone can be computed from the control points of its normal patch (Kim, Papalambros and Woo). If , the pair holds no closed loop, so it is not split again.
- Start points from the boundary. When the test passes, part 2 shows that every branch inside the pair has its ends on the boundary curves of the pieces. A curve surface intersection of each boundary curve of one piece with the other piece finds a point on every branch, and marching from these points traces them all. This is the hybrid method of the surface surface intersection page.
- When the test passes. Choose as the normal at a point of the piece, and as the largest angle from it. As two pieces shrink to points and with , continuity of the normals gives and , so the test passes after finitely many splits. It never passes for a pair that holds a point where the normals of the two patches are parallel, because then the two double cones share that normal line. Such points are the tangential intersections, which need other methods.
- No disk is needed. The proof of part 1 uses only the height function . It does not use that a loop bounds a disk on each patch, so it holds for any embedded surfaces, also for pieces that are not simply connected.
Tightness
- The constant is sharp. Take , and let . The plane cuts the unit sphere in a circle of angular radius about , and every point of the circle is within the angle of . Let be a patch of the sphere that holds the circle and lies in the cap of angular radius about , so that its normals are within of . Let be a square of the plane that holds the circle, so that . The circle is a closed loop of . So for every and every there are patches with and a loop, and the strict inequality cannot be weakened.
- Disjoint normal sets are not enough for general pieces. Part 1 of the theorem uses only that lies in the tangent planes, so it holds for any embedded surfaces. The cylinder , has only horizontal normals, and the plane has normals that are nearly vertical. No normal line of one is a normal line of the other, but the two meet in a closed ellipse. The tangent planes of the cylinder are all the vertical planes, whose union is all of , so the hypothesis of the theorem fails, as it must. The cylinder is not a disk. For two patches that are disks, Sederberg, Christiansen and Katz proved that a closed loop forces a line normal to both patches, which is a different test (cited, not proved here).
- Oriented normals are not enough. A patch of the unit sphere in that holds the circle , with outward normals, and a square of the plane that holds the circle, with normal , have disjoint sets of unit normals, and they meet in the circle. The test must use lines, not unit vectors.
- The converse fails. Two parallel planes have , so the test fails, but they do not meet at all. The condition is sufficient, not necessary.
History
Sederberg and Meyers published a loop test for surface patch intersection in 1988. It uses cones that bound the normals and the tangent planes of the two patches, so that a subdivision can stop on a pair that cannot hold a small closed loop. The theorem on this page is a form of that test with tangent cones, with a full proof; the exact wording of the 1988 test is not restated. In 1989 Sederberg, Christiansen and Katz gave an improved test: if two patches meet in a closed loop, some line is normal to both patches. Hohmeyer built a full surface intersection algorithm on loop detection in 1991, and Kim, Papalambros and Woo studied the computation of tangent and normal cones of Bézier surfaces in 1995.
References
- Thomas W. Sederberg and Ray J. Meyers, Loop detection in surface patch intersections, Computer Aided Geometric Design 5(2), 161 to 171, 1988, the loop test with cones that bound the normals and the tangent planes of two patches (general locator; the exact wording of the test is not restated here)
- Thomas W. Sederberg, H. N. Christiansen and S. Katz, Improved test for closed loops in surface intersections, Computer-Aided Design 21(8), 505 to 508, 1989, the whole paper (a closed intersection loop of two patches forces a line that is normal to both patches)
- Michael E. Hohmeyer, A surface intersection algorithm based on loop detection, Proceedings of the First ACM Symposium on Solid Modeling Foundations and CAD/CAM Applications, 197 to 207, 1991, the whole paper (general locator)
- Deok-Soo Kim, Panos Y. Papalambros and Tony C. Woo, Tangent, normal, and visibility cones on Bezier surfaces, Computer Aided Geometric Design 12(3), 305 to 320, 1995, the definitions of the tangent cone and the normal cone of a Bezier surface and their computation (general locator)
- John W. Milnor, Topology from the Differentiable Viewpoint, Princeton University Press, 1997 (first edition 1965), Appendix, Classifying 1-manifolds, p. 55
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag DRKHX0 Edit this page History Report an error Markdown