Definitionadvanced
Gregory patch
Also called rational Gregory patch.
A bicubic patch with two inner control points at each corner, blended by rational weights, so that the cross derivative of each edge can be set independently.
A Gregory patch is a four sided patch that is a bicubic Bezier patch except at its four inner control points: each of them is split into two points, and a rational blend of the parameters picks one point near each of the two edges at that corner. So the cross derivative along each edge depends only on that edge and its own two inner points, and the four edges can be joined with continuity to four independent neighbours. Gregory introduced the rational corner blend in 1974 for Coons type interpolants, and Chiyokura and Kimura gave the form with twenty control points in 1983. The patch is a rational function of and , which is the reason for the name rational Gregory patch.
Definition
Let be the cubic Bernstein polynomials. A Gregory patch has twelve boundary control points , those with or , and eight inner control points and for . Here is the inner point that serves the nearby edge along which varies ( or ), and serves the nearby edge along which varies ( or ). For in the open square put
and
where the twelve boundary points are constant. Each for is a convex combination of its two points, so it is bounded, and at the corners for these . So extends continuously to the closed square, with the four corners equal to .
Theorem (independent edges). The boundary curve is the cubic Bezier curve of , and the cross derivative along it is
So it is the cross derivative of the bicubic Bezier patch whose inner points near this edge are and , and it does not depend on any point or on the other inner points. The same holds for the other three edges, with the points on the edges and .
Proof. At , for , so . Differentiate in by the product rule:
The second term is zero: for because , and for because the boundary points do not depend on . For the derivatives exist and are bounded near , so the product rule is valid. In the first term, , and for , so only the rows and remain. In row , and . This gives the formula for , and both sides are continuous in on . The other edges follow in the same way.
Consequence. To join the patch to a neighbour across the edge with tangent plane continuity, choose and so that this cross derivative satisfies the condition with the neighbour. The choice does not change the other three edges. At the corner the edge gives the twist , and the edge gives . These are the two twists of twist compatibility, and the patch takes both, so it needs no compatibility condition. The price is smoothness at the corner points: there the mixed derivative of has no limit when , which the theorem on the twist compatibility page shows to be unavoidable.
Examples and non-examples
Incompatible twists. Take for all boundary points and all inner points, except . By the theorem, along the cross derivative is , while along it is . The height therefore has from the first edge and from the second at the corner , which no polynomial patch can have. The Gregory patch has them both. Its centre is with , since only the term has a height and the blend gives it the weight .
A bicubic Bezier patch. If for all four inner positions, every blend is constant and the Gregory patch is the bicubic Bezier patch with these inner points. So bicubic Bezier patches are the Gregory patches with compatible twists of this special form.
Not a polynomial patch. If , the patch is not a polynomial, and it is not at the corner , by the twist compatibility theorem. Inside the open square it is , since the denominators , , and are positive there.
A pitfall at the corners. A program that evaluates the formula at a corner divides by . The value at the corner is the corner point, and derivatives near the corners must be taken from the limits or from points just inside.
Related definitions
- The Gregory square. Gregory's 1974 construction is a Coons type Boolean sum of Hermite interpolants on all four edges, in which each corner twist is replaced by a rational blend of the two twists given by the edges, as on the twist compatibility page. The Bezier form above applies the same rational corner blend to the inner control points of a bicubic patch.
- Coons patch. The Boolean sum construction that the Gregory square modifies at the corners.
- n-sided patches. Triangular and multi-sided patches often use the same idea: each edge has its own cross derivative data, and rational functions blend the data of the edges so that each edge sees only its own. The generalized Bezier patch does this with rational weights on its control points.
- Vertex blends. Where several blends meet, the corner region is a multi-sided hole, and Gregory type patches are one way to fill it.
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 Coons type interpolant whose corner twists are rational blends of the two twists given by the edges
- Hiroaki Chiyokura and Fumihiko Kimura, Design of solids with free-form surfaces, Computer Graphics 17(3), SIGGRAPH 1983, the Gregory patch in Bezier form, with twenty control points, and its use for G1 joins in a solid modeler (general locator)
- Gerald Farin, Curves and Surfaces for CAGD, A Practical Guide, fifth edition, Morgan Kaufmann, 2002, Chapter 22, Coons Patches (Boolean sums, twists and their compatibility)
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 T032P8 Edit this page History Report an error Markdown