Conceptadvanced
Twist compatibility
Also called compatibility of corner twists.
At a patch corner the two edges each give a twist r_uv, and a smooth patch has r_uv = r_vu, so incompatible cross derivative data cannot be met by any polynomial patch.
Twist compatibility is the condition that the two twist vectors at a corner of a patch agree. At a corner, one edge gives the cross derivative along it, and its derivative along the edge is a twist . The other edge gives , and its derivative along that edge is a twist . Every polynomial patch has , so when the two twists come from different and independent data, no polynomial patch can take both. This is the main obstacle to smooth joins of patches at a vertex, and Gregory's rational patch is one way around it.
In plain words
To join a new patch smoothly to its neighbours, the patch must match not only the edges of the hole but also the slopes across them. The slopes come from the neighbours. At a corner of the hole two edges meet. Walk along the first edge and watch how the slope across it changes. Then walk along the second edge and watch how the slope across that edge changes. For any smooth surface these two rates of change are the same thing seen in two ways, so they must agree. When the neighbours were made independently, they usually do not agree, and then no ordinary polynomial patch fits. The way out is to give up smoothness at the single corner point: a patch with a rational blend uses the first rate near the first edge and the second rate near the second edge.
The idea
The data. Let a patch on have the corner at . The boundary data near that corner are two edge curves and two cross derivatives:
Simple consistency at the corner needs , and . In a join the cross derivatives and come from the neighbouring patches, through condition (1) on the tangent plane continuity page.
The two twists. Differentiate the cross derivatives along their edges:
Theorem. If , no patch of class near the corner, and in particular no polynomial or polynomial spline patch that is there, has and .
Proof. For a function the mixed partial derivatives are equal, (the theorem of Schwarz). From for all we get , and from for all we get . So , a contradiction. A polynomial is .
The condition is the twist compatibility condition. It is a condition on the data, and it is easy to break: two neighbours that are designed separately, or patches around one vertex with cross derivatives chosen edge by edge, give two twists with no reason to agree.
The rational blend. The theorem needs at the corner point only. So replace the constant twist in the corner term of a Coons type construction by a function that is on one edge and on the other:
This is the Boolean sum of the two first order Taylor projectors of the corner, and , with the twist of replaced by , as in Coons patches.
It meets all four conditions. At : . Differentiate in . The term has , and for fixed , is bounded, so at this is . Hence . The edge is symmetric, with . At the corner, for vectors compared by length, so is continuous there, and the same bound gives and .
The patch is not at the corner: its mixed derivative tends to along one edge and to along the other, as the theorem says it must. The full Gregory patch does this at all four corners.
Examples
A plane that tilts along one edge. Take , , the cross derivative along , so the surface rises more steeply across that edge as grows, and along , so it does not rise across that edge at all. The corner conditions hold: and . The twists are and , so the data are incompatible. A polynomial height would need and . The rational blend gives and
Here , which is at , and , which is at , as asked. Both first derivatives tend to at the corner, so the patch is there. The mixed derivative is : it is on the edge and on the edge , so it has no limit at the corner.
Compatible data. With and both twists are , is constant, and the formula gives the polynomial , the hyperbolic paraboloid.
The bicubic Coons patch. The bicubically blended Coons patch interpolates positions and cross derivatives on all four edges. Its correction term is a bicubic Hermite patch that needs a twist vector at each corner. With incompatible data, any constant choice of that twist matches one edge and misses the other, so the patch is not to one of the neighbours near the corner.
Where it is used
- Gregory patches. Each corner of the patch has two inner control points instead of one, and a rational blend picks one near each edge.
- n-sided patches and vertex blends. Where patches meet at a vertex, the conditions of the edges are coupled through the twists. Schemes either choose the cross derivatives so that the twists agree, or use rational blends, or split the region so that the problem moves to points where it can be solved.
- Twist estimation. When a designer gives only curves, as for a Gordon surface or a bicubic Coons patch, the program must invent the twists. Any estimate that is the same for both edges makes the data compatible, but a poor estimate shows as a flat spot or a bulge near the corner.
- Solid modelers. Chiyokura and Kimura used Gregory patches so that a patch in a network can be changed locally, without the twist constraints that would tie it to all its neighbours.
References
- J. A. Gregory, Smooth interpolation without twist constraints, in R. E. Barnhill and R. F. Riesenfeld (eds.), Computer Aided Geometric Design, Academic Press, 1974, pp. 71 to 87, the compatibility conditions on the twists of boundary data, and the rational blend of the two twists that removes them
- Gerald Farin, Curves and Surfaces for CAGD, A Practical Guide, fifth edition, Morgan Kaufmann, 2002, Chapter 22, Coons Patches (the twist terms of the bicubically blended Coons patch and the compatibility problem)
- Hiroaki Chiyokura and Fumihiko Kimura, Design of solids with free-form surfaces, Computer Graphics 17(3), SIGGRAPH 1983, the use of Gregory patches to fill a patch network with G1 joins where the corner twists of neighbouring patches disagree (general locator)
Where this leads
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 B9HV86 Edit this page History Report an error Markdown