Algorithm Search⌘K

Definitioncore

Tangent plane continuity between patches

Also called G1 continuity of surfaces, G1 patch join.

Two patches that share a boundary curve are G1 when their tangent planes and normals agree along it, which holds exactly when a reparametrization makes the join C1.

Two parametric patches that share a boundary curve meet with tangent plane continuity, or G1G^1 continuity, when at every point of the boundary they have the same tangent plane and the same oriented normal. It is the surface version of the G1G^1 condition for curves on the parametric continuity page. It is weaker than C1C^1, because the two cross derivatives need not be equal, and it is the condition that matters for the shape: a G1G^1 join looks smooth, and any G1G^1 join becomes C1C^1 after a change of the parameters of one patch.

Definition

Let a(u,v)a(u, v) and b(u,v)b(u, v) be regular patches, so au×av≠0a_u \times a_v \ne 0 and bu×bv≠0b_u \times b_v \ne 0, with the unit normals na=au×av/∣au×av∣n_a = a_u \times a_v / |a_u \times a_v| and nb=bu×bv/∣bu×bv∣n_b = b_u \times b_v / |b_u \times b_v|. Suppose they meet with C0C^0 continuity along a common boundary curve, with the same parametrization on both sides:

a(1,v)=b(0,v)=c(v),0≤v≤1,a(1, v) = b(0, v) = c(v), \qquad 0 \le v \le 1,

so aa is on the side u≤1u \le 1 and bb on the side u≥0u \ge 0. Then av(1,v)=bv(0,v)=c′(v)a_v(1, v) = b_v(0, v) = c'(v), and c′(v)≠0c'(v) \ne 0 because both patches are regular. The patches are tangent plane continuous, or G1G^1, along cc if na(1,v)=nb(0,v)n_a(1, v) = n_b(0, v) for every vv.

Theorem. The patches are G1G^1 along cc if and only if there are functions α(v)>0\alpha(v) > 0 and β(v)\beta(v) with

bu(0,v)=α(v) au(1,v)+β(v) c′(v)for all v.(1)b_u(0, v) = \alpha(v)\, a_u(1, v) + \beta(v)\, c'(v) \quad \text{for all } v. \tag{1}

Equivalently, det⁡[au(1,v),bu(0,v),c′(v)]=0\det[a_u(1, v), b_u(0, v), c'(v)] = 0 and the uu derivatives point to the same side of the boundary.

Proof. At a point of the boundary the tangent plane of aa is spanned by aua_u and av=c′a_v = c', and the tangent plane of bb by bub_u and c′c'. Both spans are planes, since the patches are regular. They are the same plane if and only if bub_u lies in the span of aua_u and c′c', that is, bu=αau+βc′b_u = \alpha a_u + \beta c' for some real α\alpha and β\beta, and α≠0\alpha \ne 0 because bub_u and c′c' are independent. Then bu×bv=(αau+βc′)×c′=α au×c′=α au×avb_u \times b_v = (\alpha a_u + \beta c') \times c' = \alpha\, a_u \times c' = \alpha\, a_u \times a_v. So the two unit normals are equal when α>0\alpha > 0 and opposite when α<0\alpha < 0. □\square

Reparametrization. If α\alpha and β\beta in (1) are smooth, put b~(u,v)=b(u/α(v), v−uβ(v)/α(v))\tilde b(u, v) = b(u / \alpha(v),\ v - u \beta(v) / \alpha(v)). On u=0u = 0 this is b(0,v)=c(v)b(0, v) = c(v), and by the chain rule b~u(0,v)=(bu−βc′)/α=au(1,v)\tilde b_u(0, v) = (b_u - \beta c') / \alpha = a_u(1, v). The Jacobian of the change of parameters at u=0u = 0 has determinant 1/α≠01/\alpha \ne 0, so near the boundary b~\tilde b is the same surface as bb, and aa and b~\tilde b join with C1C^1 continuity. Conversely, a C1C^1 join of regular patches is G1G^1, with α=1\alpha = 1 and β=0\beta = 0. So G1G^1 is the condition "C1C^1 after a reparametrization", in the same way as for curves.

Bezier form. Let aa and bb be Bezier patches of bidegree (m,n)(m, n) with control points ai,ja_{i,j} and bi,jb_{i,j}, and with am,j=b0,ja_{m,j} = b_{0,j}. Then au(1,v)=m∑j(am,j−am−1,j)Bjn(v)a_u(1, v) = m \sum_j (a_{m,j} - a_{m-1,j}) B^n_j(v) and bu(0,v)=m∑j(b1,j−b0,j)Bjn(v)b_u(0, v) = m \sum_j (b_{1,j} - b_{0,j}) B^n_j(v). So the simplest sufficient condition, with a constant α>0\alpha > 0 and β=0\beta = 0, is

b1,j−b0,j=α (am,j−am−1,j),j=0,…,n:b_{1,j} - b_{0,j} = \alpha\, (a_{m,j} - a_{m-1,j}), \qquad j = 0, \dots, n:

each triple am−1,j,am,j,b1,ja_{m-1,j}, a_{m,j}, b_{1,j} lies on one line, with the same ratio of lengths for every jj. This condition is not necessary. DeRose gives the necessary and sufficient conditions on the control points, with polynomial α\alpha and β\beta of the right degrees.

Examples and non-examples

G1G^1 but not C1C^1. Let a(u,v)=(u,v,0)a(u, v) = (u, v, 0) and b(u,v)=(1+2u, v+u, u2)b(u, v) = (1 + 2u,\ v + u,\ u^2) for 0≤u,v≤10 \le u, v \le 1. They share the boundary c(v)=(1,v,0)c(v) = (1, v, 0), with c′=(0,1,0)c' = (0, 1, 0). Here au=(1,0,0)a_u = (1, 0, 0) and bu(0,v)=(2,1,0)=2au+1⋅c′b_u(0, v) = (2, 1, 0) = 2 a_u + 1 \cdot c', so (1) holds with α=2\alpha = 2 and β=1\beta = 1, and both normals are (0,0,1)(0, 0, 1) on the boundary. The join is not C1C^1, since bu≠aub_u \ne a_u. The reparametrization above gives b~(u,v)=b(u/2,v−u/2)=(1+u, v, u2/4)\tilde b(u, v) = b(u/2, v - u/2) = (1 + u,\ v,\ u^2/4), which joins aa with C1C^1 continuity.

A crease. With b(u,v)=(1+u,v,u)b(u, v) = (1 + u, v, u) instead, bu=(1,0,1)b_u = (1, 0, 1) is not in the plane z=0z = 0. The normal of bb is (−1,0,1)/2(-1, 0, 1)/\sqrt 2, so the two patches meet at an angle of 45°45°. This is C0C^0 and not G1G^1.

A fold. With b(u,v)=(1−u,v,u2)b(u, v) = (1 - u, v, u^2), bu(0,v)=(−1,0,0)=−aub_u(0, v) = (-1, 0, 0) = -a_u. The tangent planes are the same set, but α=−1<0\alpha = -1 < 0 and bu×bv=(0,0,−1)b_u \times b_v = (0, 0, -1). The second patch turns back over the first, so the union has a cusp edge. The definition excludes this case through the sign of α\alpha.

A Coons patch network. Bilinearly blended Coons patches that share boundary curves are in general only C0C^0 across them, because the patch takes only positions from the boundary. To get G1G^1, the patch must also take cross derivatives, as the bicubically blended Coons patch and the Gregory patch do.

A corner of four patches. Condition (1) is a condition along one edge. Where several patches meet at a corner, the conditions of the edges are coupled through the twist vectors ruvr_{uv} at the corner, and they can contradict each other for polynomial patches. This is the subject of twist compatibility, and it is why n-sided patches and vertex blends are hard.

Seeing it. A G1G^1 join that is not G2G^2 has a jump in normal curvature. Reflection lines cross it with a kink, and they cross a crease with a break.

  • C1C^1 continuity. The stronger condition bu(0,v)=au(1,v)b_u(0, v) = a_u(1, v). It depends on the parametrization, and G1G^1 does not.
  • G2G^2, curvature continuity. The two patches are G1G^1 and, at each point of the boundary, the normal curvature in every tangent direction is the same on both sides, so the second fundamental forms agree for the common normal. See surface curvature and fundamental forms.
  • GkG^k continuity of curves. The curve version, with the beta constraints, is on the parametric continuity page. A cross section curve of a G1G^1 surface join through a boundary point is G1G^1 there.
  • Normal continuity. For regular patches with a C0C^0 join, G1G^1 is the same as continuity of the unit normal field across the boundary.

References

  1. DeRose 1990, the tangent plane condition along a common boundary as a linear dependence of the two cross derivatives and the boundary tangent, and its form for Bezier control points
  2. Liu 1990, the same conditions for rational Bezier patches
  3. Manfredo P. do Carmo, Differential Geometry of Curves and Surfaces, Prentice-Hall, 1976, Section 2-4, the tangent plane of a regular surface and its independence of the parametrization
  4. Gerald Farin, Curves and Surfaces for CAGD, A Practical Guide, fifth edition, Morgan Kaufmann, 2002, the chapters on Bezier patches and on smooth joins of patches

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/F55GRP/text.yaml