arxiv: v2 [math.na] 26 Jan 2015

Size: px
Start display at page:

Download "arxiv: v2 [math.na] 26 Jan 2015"

Transcription

1 Smooth Bézier Surfaces over Unstructured Quadrilateral Meshes arxiv: v2 [math.na] 26 Jan 2015 Michel Bercovier 1 and Tanya Matskewich 2 1 The Rachel and Selim Benin School of Computer Science and Engineering, Hebrew University of Jerusalem,Israel. 2 Microsoft Corp. Redmond, WA, USA, Abstract We study the following problem: given a polynomial order of approximation n and the corresponding Bézier tensor product patches over an unstructured quadrilateral mesh made of convex quadrilaterals with vertices of any valence, is there a solution to the G 1 ( and as a consequence the C 1 ) approximation (resp. interpolation ) problem? To illustrate the interpolation case, constraints defining regularity conditions across patches have to be satisfied. The resulting number of free degrees of freedom must be such that the interpolation problem has a solution! This is similar to studying the minimal determining set (MDS) for a C 1 continuity construction. Based on the equivalence of G 1 and C 1 we introduce a sufficient G 1 condition that is better adapted to the present problem. Boundary conditions are then analysed including normal derivative constraints ( common in FEM but not in CAGD. ) The MDS are constructed for both polygonal meshes and meshes with G 1 -smooth piecewise Bézier cubic global boundary. The main results are that such MDS exists always for patches of order 5. For n = 4 criterions for mesh structures avoiding under constrained situations are analysed. This leads to the construction of bases by solving a well defined linear system, which allows the solution of the problem for large families structures of planar meshes, without using macro-elements or subdivisions.. A complete solution for cubic C 1 boundaries is given, again by a constructive algorithm. We also show that one can mixes quartic and quintic patches. constraints. Explicit construction is provided for important types of interpolation/boundary Finally some numerical examples are given. As a conclusion from a practical point of view, the present paper provides a way to solve C 1 interpolations/approximations and fourth order partial differential problems on arbitrary structures of quadrilateral meshes. Defining a global in-plane parametrisation a priory allows the introduction of a physical energy functional, as is done in Isogeometric Analysis, energy that relates to the functional representation of the surface. berco@cs.huji.ac.il;corresponding author i

2 ii Contents Abstract i List of Figures viii I Introduction 1 1 Problem definition, current sate and aim of the research Description of the problem Brief review of related works CAGD based constructions Interaction between FEM and CAGD The principal aim of the present work Contribution Definitions and Hypotheses Domains of application Solution of an interpolation/approximation problem using the functional form of the shape functional Approximate solution of a partial differential equation over an arbitrary quadrilateral mesh Structure of the work Notations Points and vectors Polynomials Planar mesh data Vertices, edges and twist characteristics Partial derivatives of in-plane parametrisations Weight functions D data of the resulting surface Bézier control points of two adjacent patches Bézier control points adjacent to some mesh vertex Partial derivatives of patches at the common vertex Definitions of special sets, spaces and equations II Some fundamental results regarding G 1 -smooth surfaces 21 3 Basic definitions related to smoothness of the surface The vertex enclosure problem General formulation of the vertex enclosure constraint

3 iii III General linearisation method 26 5 Linearisation of the minimisation problem Linearisation of the smoothness condition Linear form of additional constraints Interpolation constraints Boundary conditions Quadratic form of the energy functional Principles of construction of MDS Special subsets of control points and their dimensionality Relation between MDS and the additional constraints Principle of locality in construction of MDS Aim of the classification process From MDS to solution of the linear minimisation problem IV MDS for a quadrilateral mesh with a polygonal global boundary 35 8 Mesh limitations In-plane parametrisation Conventional weight functions and linear form of G 1 -continuity conditions Local MDS Local classification of E,V -type control points for a separate vertex based on Eq(0) -type equations Formal equation and geometrical formulation Degrees of freedom and dependencies Local templates for a separate inner vertex Local templates for a separate boundary vertex Local classification of D,T -type control points for a separate vertex based on Eq(1) -type equations Formal equation and geometrical formulation Theoretical results for an inner vertex Local templates for a separate inner vertex Local templates for a separate boundary vertex Local classification of the middle control points for a separate edge Existence and types of the local templates Example of the local MDS for n = 4 and n = Global MDS MDS of degree n MDS of degree n =

4 iv Principal role of classification of D-type control points Examples of possible difficulties Sufficient conditions and algorithms for the global classification of D,T -type control points The existence of MDS. Analysis of different additional constraints Dimensionality of MDS V MDS for a quadrilateral mesh with a smooth global boundary Definitions,Mesh limitations and In-Plane parametrisation Definitions and In-plane parametrisation Points important for in-plane parametrisation of the boundary mesh elements in the case of a mesh with a smooth global boundary In-plane parametrisation In-plane parametrisation for a boundary mesh element Regularity of the bicubic in-plane parametrisation Global in-plane parametrisation Π (bicubic) Conventional weight functions Weight functions for an edge with two inner vertices Weight functions for an edge with one boundary vertex Partial derivatives of in-plane parametrisations along the edge Weight functions Geometrical meaning of the actual degrees of the weight functions Linear form of G 1 -continuity conditions G 1 -continuity conditions for an edge with two inner vertices G 1 -continuity conditions for an edge with one boundary vertex Formal construction of the linear system of equations An equivalent system of the linear equations Some important properties of sumc-equation Local MDS Local templates for a separate vertex Local templates for an inner vertex Local templates for a boundary vertex Local classification of the middle control points for a separate edge Local templates for an edge with two inner vertices Local templates for an edge with one boundary vertex.. 76

5 v 17 Global MDS Algorithm for construction Existence of global MDS of degree n Existence of global MDS of degree n = 4. Analysis of different additional constraints Dimensionality of MDS VI Mixed MDS of degrees 4 and 5 84 VII Computational examples Examples of MDS Examples of an approximate solution of the Thin Plate problem for irregular quadrilateral meshes The Thin Plate problem Approximate solution over a circular domain Approximate solution over a square domain VIII Conclusions and further research. 94 Bibliography 96 Appendix 1 A Illustrations to approximate solution of the Thin Plate Problem. 1 B Algorithms C Technical Lemmas D Proofs E Computation of Thin Plate energy for bilinear in-plane parametrisation of mesh element F From MDS to solution of the quadratic minimisation problem.. 58 G Construction of an interpolating surface: current approach and interpolation based on 3D mesh of curves

6 vi List of Figures 1 Irregular quadrilateral mesh for a circular domain D Bézier parametric patch and the corresponding planar mesh element Planar mesh and 3D surface interpolating 3D points and tangent planes at the mesh vertices A planar mesh element Two adjacent planar mesh elements Vectors important for computation of the actual degrees of the weight functions in the case of the bilinear parametrisation of two adjacent mesh elements Planar mesh elements adjacent to the common vertex Partial derivatives of in-plane parametrisations for two adjacent patches Bézier control points adjacent to the common edge of two patches Bézier control points adjacent to some mesh vertex Two adjacent parametric patches with G 1 -smooth concatenation along the common boundary Control points involved into the boundary conditions Control points, which do not participate in G 1 -continuity conditions (a) Inner element (b) Corner element (c) Boundary noncorner element Control points of a global in-plane parametrisation An illustration for the mesh limitations Examples of meshes, which do not satisfy the Uniform Edge Distribution Condition Local templates for the classification of V,E-type control points in case of global bilinear in-plane parametrisation Π (bilinear) Possible mesh configuration, which automatically satisfies the Circular Constraint Local templates for the classification of D,T -type control points adjacent to an inner vertex in case of global bilinear in-plane parametrisation Π (bilinear) Local templates for the classification of D,T -type control points adjacent to a boundary vertex in case of global bilinear in-plane parametrisation Π (bilinear) An illustration for the Projections Relation Local templates for the classification of the middle control points in case of global bilinear in-plane parametrisation Π (bilinear) An example of a pure global MDS B (5) ( Π (bilinear)

7 vii 24 An example of a global MDS B (4) ( Π (bilinear), which fits the clamped boundary conditions Examples of such meshes that not every D-relevant mesh vertex has its own D-type control point An example of mesh configuration when 3-vertex does not contribute to the Circular Constraint for adjacent 4-vertices An illustrations for the construction of the D-dependency graph Construction of D-dependency tree for a connected component of D-dependency graph. (a) Connected component of D-dependency graph (here the structure of the component is not correct in the meaning that it does not correspond to any planar mesh, the Figure serves only as an illustration for Algorithm 3). (b) Spanning tree of the connected component. (c) D-dependency tree of the connected component An example of two different D-dependency trees connected by the directed edges at the root vertices. (a) Planar mesh vertices and edges. (b) D-dependency graph consisting of two connected components. (c) D-dependency trees for two components of D- dependency graph An example of the classification of D-type control points Regularization of an inner 4-vertex. Here Ṽ (init) is a vertex of the initial mesh and Ṽ (reg) is the corresponding regularized vertex. In D-dependency graph, Ṽ (reg) helps to obtain dangling half-edges for connected components of the adjacent vertices An example of a pure global MDS B (4) ( Π (bilinear) An example of a planar domain with a smooth global boundary A planar mesh element, control points of a boundary curve and control points of in-plane parametrisation in the case of a mesh with a smooth global boundary Two adjacent boundary mesh elements in the case of a mesh with a smooth global boundary Coefficients of L u, R u, L v with respect to Bézier and to power bases for two adjacent mesh elements in the case of global inplane parametrisation Π (bicubic) Different geometrical configurations of two adjacent boundary mesh elements lead to different actual degrees of the conventional weight functions Local templates for classification of V,E-type control points adjacent to a boundary vertex in the case of global in-plane parametrisation Π (bicubic) Local templates for an edge with one boundary vertex in the case of global in-plane parametrisation Π (bicubic) An illustration for degree elevation for a boundary mesh element Examples of B (4) for irregular 4-element mesh

8 viii 42 An irregular quadrilateral mesh for a circular domain The resulting smooth surface (case of the circular domain, irregular mesh) Irregular quadrilateral mesh for a square domain The resulting smooth surface (case of the square domain, irregular mesh) Appendix 46 Level lines for the resulting surface and for its first-order derivatives (case of the circular domain, irregular mesh) (a) Z (b) Z X (c) Z Y Level lines for the resulting surface and for its first-order derivatives (case of the square domain, irregular mesh) (a) Z (b) Z X (c) Z Y Values for approximate (bold line) and exact (thin line) solutions, their first order derivatives and the bending moments along segment X = 1 (case of the circular domain, irregular mesh) (a) Z (b) Z X (c) Z Y (d) M X (e) M Y (f) M XY Difference between the approximate and the exact solutions (case of the circular domain, irregular mesh) (a) Z (b) Z X (c) Z Y (d) M X (e) M Y (f) M XY Values for approximate (bold line) and exact (thin line) solutions, their first order derivatives and the bending moments along segment X = 1 (case of the square domain, irregular mesh) (a) Z (b) Z X (c) Z Y (d) M X (e) M Y (f) M XY Difference between approximate and exact solutions (case of the square domain, irregular mesh) (a) Z (b) Z X (c) Z Y (d) M X (e) M Y (f) M XY An illustration for the construction of a D-dependency tree when a component of D-dependency graph has no dangling half-edge An illustration for a sufficient condition for the regularity of bicubic in-plane parametrisation An illustrations to proof of Theorem An illustration for the Tangents Relation Different weight functions correspond to different in-plane parametrisations of the boundary mesh elements

9 1 Part I. Introduction 1 Problem definition, current sate and aim of the research Definitions of the current Section are not always self-contained. The precise mathematical definitions of the notions used in this section will be given in subsequent sections,(example: the precise definition of G 1 (C 1 )-continuity,is in Part II). 1.1 Description of the problem Input Let OXY Z a Cartesian coordinate system, Ω a planar simply-connected domain lying in the XY -plane, together with its regular quadrangulation into convex elements ( by regular we mean that two elements have either an empty intersection, an edge or a vertex in common.) The mesh may have an arbitrary topological and geometrical structure (see Figure 1) and may have either a polygonal or a G 1 -smooth piecewise-cubic Bézier parametric global boundary. Output Compute a 3D piecewise Bézier tensor-product parametric surface of order n, so that (1) There is a one-to-one correspondence between the planar mesh elements and the patches of the resulting surface.the orthogonal projection of every 3D patch onto the XY -plane defines a bijection between the patch and the corresponding element of the planar mesh (see Figure 2). (2) The union of every two adjacent patches is G 1 (C 1 )-regular. (3) The resulting surface is obtained as the constrained minimum for a given energy functional, relative to the cartesian plane,( functional representation of the surface.) (4) One can impose additional interpolation/boundary constraints. For example, the resulting surface may be required to interpolate some 3D initial data at vertices (see Figure 3). (5) Determine the dimension of the underlying approximation space. An important result due to J. Peters [37] establishes that G 1 continuity over any unstructured mesh implies actually C 1. Hence we are free to use G 1 or C 1 -continuity requirements, whichever is more adapted to the cases we consider! We always suppose that the additional constraints noted above fit the smoothness requirements. The surface we thus define or compute can be seen as a functional surface, that is a surface defined as Z = f(x, Y ) over Ω 1.2 Brief review of related works The current work lies at the junction of Computer Aided Geometric Design and the Finite Element Methods. Both fields have extremely extensive bibliography that makes it impossible to present a full list of related works.

10 1 Problem definition, current sate and aim of the research 2 Reviews and wide lists of references can be found, for example, in [13], [14], [21], [38], for CAGD methods) and in [8], [16], [46] (for Finite Element methods). The recent Isogeometric Analysis (IGA) breakthrough [23] has brought together the fields of multi patch surface handling, higher order smooth order approximations and Finite Element Methods (FEM).. The related problems involve many parameters like : type of the considered meshes, choice of the functional space, the energy functional, smoothness, hence an abundant literature around the present subject. A classic problem in CAGD deals with the construction of piecewise parametric Bézier or B-spline surfaces or their extension to Non Uniform Rational B-Spline (NURBS),and it often requires (at least) G 1 (C 1 )-continuity of the resulting surface. The researches may be subdivided into two large categories: the first category concentrates on the continuity conditions; the second category studies the different types of the energy (fairness) functionals. The purpose of the present review is to outline briefly some fundamental concepts of the related approaches. We review mainly the case of quadrilateral patches and smooth surfaces, and do not consider NURBS CAGD based constructions Continuity conditions One can onsider the construction of a smooth surfaces interpolating a given 3D mesh of curves (e.g. [30] [35], [39], [43], [44]) or start with the construction of the mesh of curves which interpolates the given data (e.g. [33], [41]). Usually, the initial triangular or quadrilateral mesh is not required to be regular. However, it appears (see [35]) that the piecewise parametric G 1 -smooth interpolant does not necessarily exist for every mesh. Then either some restrictive assumption on the mesh of curves is introduced or some modification of the mesh is made. Localizing the propagation of continuity constraints by refining surfaces is necessary for some cases. Subdivision of some mesh elements (see [9], [10], [12], ) is commonly applied in order to improve the mesh quality (e.g. [35], [39], [42]) and to make the mesh admissible for interpolation by a smooth surface. Another techniques, [17], is based on macro-elements to keep a low order order approximation. Subdivision of an initial mesh element clearly implies that the resulting surface for the element is composed of several (polynomial/spline) pieces. The first step is to check that the mesh of curves is admissible,next one proceeds with filling the faces. Both the weight functions and the inner control points in the under-constraint situations are defined by application of some (usually local) heuristics, such as the least-square or averaging techniques (see, for example, [17], [33], [35], [42], and the references herein. Application of the local heuristics allows to construct a resulting surface by the local methods and to avoid any complicated computations. To avoid macro elements or subdivision one needs higher order tensor product patches for G 1 construction of surfaces. The first candidate is the bi quartic patch, but as we will show existence and uniqueness of a solution depends on the underlying mesh structure. G 1 construction of bi quintic B-spline surfaces over arbitrary topology is done in [50] and [49]. The aim is to simplify surface

11 1 Problem definition, current sate and aim of the research 3 representations by an approximation with such patches. To do that they derive many local G 1 properties similar to the one we will introduce. The authors do claim that the bi- quintic quadrilateral is of the lowest order possible, but do not give any demonstration of this statement. They show that the problem has no solution over general meshes for bi-cubic patches. Furthermore the actual dimension of the resulting basis is not studied and the functional used for approximating the given surfaces are not defined. Similarly, [20], construct a G 1 surface by patch-by-patch scheme smoothly stitching bi-quintic Bézier patches. While the techniques described above are generally sufficient in order to construct nicely looking surfaces,by approximation or interpolation of the given data, they usually require some preprocessing and the nature of the local heuristics may not reflect any geometrical characteristic of the resulting surface. [29] gives a higher order construction based on sixth order polynomials, we shall not consider this here. A study of the energy functionals The second category of techniques allows controlling the shape of the surface by minimisation of some (usually global) energy functional. The works, which study different forms of the energy functional, usually deal with intrinsically smooth functional bases (e.g. B-spline basis) and in any case assume the regular structure of the mesh. The user is required to enter only some essential interpolation data, the rest of the degrees of freedom are defined by the energy minimisation. The energies used in Computer Aided Geometrical Design commonly relate to the parametric representation of the surface and include the partial derivatives with respect to parameters. The spectrum of the energies is very wide; the most advanced techniques compute the energies using some initial approximation of the resulting surface which lead to a good approximation of the natural geometrical characteristics, such as total curvature (e.g. ( [18], [45]) Interaction between FEM and CAGD CAGD and FEM are related domains, the main link being the two way exchanges between geometry and meshes. Higher order approximations are often used in FEM, based on higher order polynomials ( p method) triangular, regular quadrilateral or so-called macro-elements ( splitting of convex quadrilaterals (see [9]) or triangles (see [10])), for details see [7], [16]. Moreover CAD representations have been used for the numerical solutions of partial differential equations (PDEs), [25], [40], and conversely some FEM methods have been used for the design of geometrical objects, [31]. The real convergence is given the Isogeometric Analysis [23], where PDEs are approximated by NURBS in the physical space, using the geometric transformation that defines the domain and not the parametric( reference ) one. The Bivariate Triangular Spline Finite Elements The construction of the Bivariate Triangular Spline Finite Elements (BSFE) is closely connected to the approach of the current work. The BSFE approach combines Bézier-Bernstein representation of the polynomials and the requirement of C r (r > 0) smoothness. It leads to the problem of determining minimal determining sets (MDS). This

12 1 Problem definition, current sate and aim of the research 4 will be at the center of the present work, so let us introduce this notion as it was for BSFE. Let a triangulation of a simply-connected planar polygonal domain Ω be given. By definition, for integers n and 0 r n 1, space S r n consists of C r ( Ω) smooth functions which are piecewise polynomials of total degree at most n over each triangle with respect to the barycentric coordinates. S r n is called a bivariate spline finite element space. Note, that although for every triangle the polynomials are represented in their Bézier-Bernstein form with respect to the barycentric coordinates, they also can be considered as polynomials in the functional sense. For a triangle with vertices A, B, C, the XY -coordinates of the Bézier control points are given by P i,j,k = 1 n (ia + jb + kc), i + j + k = n. Let Z( P i,j,k ) denote the Z coordinate of the control point P i,j,k. Since at least C 0 -continuity is assumed, the Bézier control points of shared edges are unique, determining the dimension of the space Sn. 0 The dimension of S r n is given by the number of control points in a minimal determining set (MDS), i.e. a minimal set of points nodal points D such that ( see definition 5, below) : P i,j,k D, Z( P i,j,k ) = 0, and Z C r Z 0; The problem of the dimension of Sn r was initiated with a conjecture of Strang in [47]. The dimensionality depends on both the topological and geometrical structure of the mesh; an arbitrary small perturbation of the mesh vertices may lead to changes in structure of the minimal determining set. The first important result was achieved by Morgan and Scott [32], with the dimension formula and explicit basis for space Sn, 1 n 5. The minimal determining sets (and therefore bases of the underlying spline spaces) were explicitly constructed for S4 1 for all triangulations (see Alfred et all. [3]); Sn, r n 3r + 2 for general triangulations (see [19], [22]); Sn, r n = 3r+1 for almost all triangulations (see [4]). We are not aware of results for the case r = 1 and n 3. In the latter case, subdivisions of the initial triangulation lead to the construction of the cubic spline finite element space. For the convex quadrangulation, the space Sn r is defined by triangulation obtained by inserting the diagonals of each quadrilateral (see [27]). For the approximate solution of boundary-value problem, the spaces of type S3r, r r 1 for convex quadrangulations appears to be of particular interest, since they possess full approximation power (in contrast to spaces based on general triangulations), have relatively low dimensions and may be locally refined (see [28]). Generalisation of the bivariate spline finite element space - parametric spline finite element space, composed of such functions that every one of X, Y, Z coordinates belongs to S r n - is given in [15]. There surfaces are build by interpolation and avoid the vertex enclosure problem (see below). However, parametrisation in the XY -plane can not be fixed a priory, which makes the approach unsuitable for minimisation of the energy relating to the functional representation of the surface.

13 1 Problem definition, current sate and aim of the research The principal aim of the present work Contribution Generalisation of BSFE approach The current work generalises the BSFE approach on unstructured non degenerate convex quadrilateral meshing of a given planar domain Ω with subparametric Beziér tensor-product Finite Elements (FE) on each quadrilateral ( were we define an in plane parametrisation by a bilinear mapping from a reference element.) This in-plane parametrisation leads to the linearisation of the C 1 -continuity conditions and reduces the problem to a linear constrained minimisation (see Part III). We also extend our results to the case where the edge of a quadrilateral on the boundary of Ω is given by a cubic parametrisation. In addition, it provides a natural set up for explicitly computing the minimal determining set of the control points B (n) (see Subsection 1.3.2). We compute the B (n) for the space of C 1 ( Ω)-smooth, piecewise parametric polynomials of degree n 4. In common with the BSFE approach described in subsection ( )a single patch of the resulting surface is given by a polynomial subparametric FE. However,the degrees of freedom which guarantee the C 1 -smooth concatenation between adjacent patches are not local and the MDS depends on the topology and geometry of the mesh. The resulting construction is done for all possible unstructured mesh quadrangulations (both from a topological and geometrical points of view). The principal differences from the standard BSFE approach are the following. The elements are defined over a square rather than a triangular reference element and has a tensor-product polynomial form. Mapping between the reference element and the corresponding element in Ω is of at least of bilinear order. The resulting surface is given by a functional minimisation or by interpolation. In classic BSFE the energies are expressed in the parametric space, not in a physical one. In our case, like for isoparametric finite elements, the space of functions does not coincide with the space of functional polynomials over quadrilaterals. The MDS depends on the choice of mappings between the reference square and the mesh elements. For a polygonal quadrilateral element the canonic bilinear mapping is used but a boundary mesh element with one curvilinear side requires a special analysis in order to choose the mapping in an optimal way. The main contributions of the current work are listed below. The current approach works for quadrilateral meshes with any valence for the vertices (hence it can use standard FEM quad mesh generators.) The MDS are constructed for both polygonal meshes and meshes which at the boundary of Ω consists of G 1 -smooth piecewise Bézier cubics. In the

14 1 Problem definition, current sate and aim of the research 6 last case, mappings between reference and boundary mesh elements are of higher order. Handling curved boundaries lead to better approximate solutions of partial differential equations. While the dimension of the MDS is uniquely defined, the choice of control points, which participate in MDS ( i.e the basis functions), can be made in different ways. The current research analyses different MDS which are suitable for different additional conditions to cover the main types of interpolation and boundary conditions. The current work is restricted to an analysis of the MDS; it does not analyse stability nor the approximation order of the solution, though the experimental results seem quite accurate. A study of the continuity conditions As noted above by [37], on any quadrilateral mesh imposing of G 1 -continuity conditions is equivalent to the requirement of C 1 -smoothness. Hence, it is sufficient to analyse the G 1 continuity conditions for the inner edges in terms of control points of adjacent patches. Moreover the study of G 1 -continuity conditions for the control points adjacent to a mesh vertex leads to results which fit the general Vertex Enclosure theory (see Section 4). The results have elegant geometrical formulations, closely related to the structure of the planar mesh. In addition, a detailed analysis is made for the middle control points adjacent to an inner edge. All possible configurations of the adjacent mesh elements are studied and the nice dependencies between the geometry of the elements and the available degrees of freedom are defined. Choice of the energy functional The shape of the resulting surface (in addition to G 1 -continuity and additional constraints) is defined by minimisation of a natural physical global energy functional, no local heuristics are used. Fixation of in-plane parametrisation a priory allows to define a functional form of energy, which makes the solution applicable to a wide range of problems in PDEs Definitions and Hypotheses Definition 1: Consider the tensor product Bernstein-Bézier polyomials of degree n over the unit square [u, v] [0, 1] 2. Let POL (n), POL (n) and POL (n) be the corresponding spaces,obtained by defining, as coefficients of these polynomials,scalar, 2D and 3D control points respectively. We deal with Bézier functions,(resp. plannar domains and surfaces), following the CAGD conventions, [14], such objects will be defined as being of order n, (resp. (n, m) and (n, m, r) ), where n (resp. n, m, and n, m, r) defines the maximum (formal) degree(s) of a polynomial, the actual degree(s) may be less. For example by degree elevation of its first tensor term, a Bézier bilinear quadrilateral [order (1, 1) ], can be considered as an order (2, 1 ) quadrilateral. When there is no confusion we will use indifferently order or degree.

15 1 Problem definition, current sate and aim of the research 7 For a planar simply-connected domain Ω, lying in XY -plane, and its quadrangulation Q into non degenerate convex elements, the following definitions and notations will be used. Definition 2: Let m be some integer, a piecewise-polynomial 2D function Π is an order m global regular in-plane parametrisation of domain Ω if (1) For every mesh element q Q, the restriction Q = Π q belongs to and defines a regular mapping (see Definition 8) between the reference square and the planar element q. POL (m) (2) For two adjacent mesh elements q and q, the 2D control points of Q = Π q and Q = Π q coincide along the common edge of the elements. The space of all order m regular in-plane parametrisation will be denoted by PAR (m). Definition 3: A piecewise-parametric 3D function Ψ agrees with a given global in-plane parametrisation Π if for every mesh element q Q the restriction of the function Q = Ψ q defines a mapping from the unit square into the 3D space Q : [0, 1] 2 R 3 and the (X, Y ) coordinates of Q coincide with the restriction of the global in-plane parametrisation Π q. Definition 4: Let n and m < n be some integers and Π PAR (m) be some fixed degree m global regular in-plane parametrisation of domain Ω. Then space FUN (n) ( Π) is by definition composed of piecewise-parametric 3D functions Ψ so that (1) Ψ agrees with the in-plane parametrisation Π. (2) For every mesh element q Q, the Z-coordinate of the restriction Q = Ψ q belongs to POL (n) (and hence Ψ q is a subparametric FE). (3) Ψ is a C 1 -smooth function in the functional sense over Ω: Ψ C 1 ( Ω). It is important to note that space FUN (n) ( Π) depends on the chosen in-plane parametrisation Π, although in what follows it will be usually clear which underlying in-plane parametrisation is considered and the space will be usually denoted by FUN (n). Definition 5: Let CP (n) ( Π) be a set of in-plane Bézier control points of all patches which result from degree elevation of a global regular in-plane parametrisation Π up to degree n for every patch. Since the Bézier control points of the in-plane parametrisation always coincide along the shared edges, they are unambiguously well defined. (n) A determining set D is a subset of CP so that : P D, Z(P ) = 0 Ψ 0;

16 1 Problem definition, current sate and aim of the research 8 A determining set is called minimal determining set (MDS) B (n) if there is no determining which size is smaller. The subset B (n) depends on the chosen in-plane parametrisation Π and is not necessarily uniquely defined for a fixed in-plane parametrisation, but all instances have the same size, equal to the dimension of the vector space generated by the corresponding basis functions. The purpose of the current work is to choose an in-plane parametrisation in some optimum way and describe the MDS B (n) for all n 4 and for all possible mesh configurations. Moreover, the control points which belong to the MDS may be chosen in different ways, defining different instances of B (n). The principal goal of the work is to analyse the different instances of the MDS according to different additional constraints. More details regarding different instances of the MDS, relations between MDS and the additional constraints and other important definitions relevant for the current approach are given in Section Domains of application Solution of an interpolation/approximation problem using the functional form of the shape functional Let a set of 3D points be given and the topological structure of a 3D quadrilateral mesh be defined. The 3D mesh itself is virtual in the meaning that the quadrilateral faces of the mesh are defined in a symbolic manner, boundary curves of 3D patches are not specified. The goal is to construct such a G 1 -smooth, piecewise Bézier parametric surface that interpolates/approximates the given 3D points and satisfies some optional additional conditions (for example normals of the tangent planes at the mesh vertices or the boundary curve of the whole mesh may be specified 1 ); the shape of the surface is defined (in addition to the interpolation/approximation conditions) by some energy functional which relates to the functional representation of the surface Z = Z(X, Y ). Define 3D quadrilateral elements by connecting by straight segments the endpoints of every edge of the virtual mesh (see Figure 3). If the construction is such that the orthogonal projection of these 3D elements on the XY -plane defines a bijection and forms a planar mesh of convex quadrilaterals then our algorithm can be applied. We consider in details the main kind of interpolation problems and provides a general approach, so that any interpolation/approximation problem can be handled in the same manner. The solution does not use the auxiliary construction of a 3D mesh of curves; the vertex enclosure constraints (see Section 4 ) are intrinsically satisfied by the construction of the MDS, hence we can solve the problem for any structure of the mesh. A comparison of the current approach and the standard techniques based on interpolation o f 3D mesh of curves is presented in Appendix, Section G More detailed description of the possible kinds of additional constraints is given in Section

17 1 Problem definition, current sate and aim of the research Approximate solution of a partial differential equation over an arbitrary quadrilateral mesh Consider 4th order partial differential equations (PDEs) (for example, the Thin Plate Problem or a biharmonc operator ): to have a conforming FEM one needs a C 1 basis. An approximate solution can then be found by constrained minimisation of a corresponding energy functional (see [7] [16], [46]). Constraints (fixed explicitly or implicitly) are used for the imposition of boundary conditions, the energy functional is derived from the PDE and the computed solution can be represented as the functional representation of the resulting surface (an example of the Thin Plate functional is given in Section 19). Usually subdivision of the domain into elements is done by classical 2D meshing techniques ( see for instance [6] ) and is included in the input of the problem together with the domain itself. The current research provides a possibility to construct a C 1 -smooth piecewise-polynomial approximate solution of a 4rth order partial differential equation for quadrilateral meshes with an arbitrary geometrical and topological structure, like the mesh shown in Figure 1. (Requirement of C 1 -smoothness leads to a conforming approximate solution for fourth-order partial differential equations.) The solution is constructed and the different boundary conditions are analysed for a planar mesh with a polygonal global boundary and for a planar mesh with piecewise-cubic G 1 -smooth Bézier parametric global boundary. Although the error estimation lies beyond the scope of the current work, practical results (see Section 19) show that the approach leads to an approximate solution of a high quality. In the spirit of Isogeometric Analysis one could also approximate 2nd order PDEs by mean of these C 1 bases. 1.5 Structure of the work Contents Section 1 (Part I) describes the problem and the general approach to its solution, introduces essential concepts and formulates the principal goals of the research. We compare the current research with related works, highlights our contributions and describe the domains of application. Part II presents fundamental results and definitions from the common theory of smooth surfaces, closely connected to the subject of the present work. The general method of solution, adopted in the current research, is described in Part III. Two central Parts, IV and V, apply the general method for two different types of planar mesh configurations. These parts contain the most important theoretical results, related to the existence and to the explicit construction of the solution, both in regular and in all possible degenerated cases. Full proofs of theoretical results as well as implementation algorithms are provided. Part VI shows that definitions based on the common fundamental concepts can be naturally generalised. The Generalisation leads to the composite solution with a wide range of applications. Part VII presents the computational examples, which allow to illustrate the correctness of the approach, and the results of application of the general

18 1 Problem definition, current sate and aim of the research 10 solution to the Thin Plate problem. Part VIII discusses possible topics for further research. In order to free the main text from the technical details and long computations as much as possible, all proofs, less important statements or statements which require a complicated algebraic formulation (Technical and Auxiliary Lemmas ) and some Algorithms are given in an Appendix (Sections D, C and B respectively). In addition, the Appendix contains examples of the solution of the partial differential equation (Section A) and several Sections that includes some auxiliary material (Sections E, F and G). Figures. Generally, the Figures are placed in the end of every Section. Figures which present results of the practical application of the approach are given in Appendix, Section A. The full list of figures is given at the beginning of the work. Notations. A special Section (Section 2) presents a list of the most common and useful formal notations and definitions. In addition, Section 2 contains an index list for some essential definitions used in the current work. Fonts and underlines. Tems and notions,with a precise definition, are usually written in italic font and/or appear in quotes. (For example, the Middle system of equations or the middle control points). Fig. 1: Irregular quadrilateral mesh for a circular domain.

19 1 Problem definition, current sate and aim of the research 11 Fig. 2: 3D Bézier parametric patch and the corresponding planar mesh element. Fig. 3: Planar mesh and 3D surface interpolating 3D points and tangent planes at the mesh vertices.

20 2 Notations 12 2 Notations Here is presents a list of the most common and useful formal notations and definitions. 2.1 Points and vectors Ā = (Ã, A) = (A X, A Y, A) - a 3D point or vector, where à = (A X, A Y ) is its 2D component in XY -plane and A is its Z-coordinate. In general, will be used for 3D objects and for 2D objects in XY -plane. Ā or à - Euclidean norm of 3D or 2D vector. < Ā, B > - cross product of two 3D vectors. < Ã, B > - Z-coordinate of the cross product of two vectors lying in XY -plane (signed length of the cross product of two 2D vectors). (Ā, B) - scalar product of two 3D vectors. mix Ā B =(Ā, C < B, C A X, A Y A >) = det B X B Y B - mixed product of three C X C Y C 3D vectors. 2.2 Polynomials ( ) Bi n(u) = n u i (1 u) n i, u [0, 1], i = 0,..., n - degree n Bernstein polynomial of one variable. i ( ) ( ) Bij n (u, v) = n n u i (1 u) n i v j (1 v) n j, (u, v) [0, 1] 2, i, j = 0,..., n - i j degree n tensor-product Bernstein polynomial of two variables. P (u) = n i=0 P ibi n (u) - Bézier polynomial of degree n, P i, Pi, Pi - Bézier control points ( in 1D, 2D, 3D). deg(p ) - actual degree of a polynomial; the lowest integer such that P (u) can be represented in the form P (u) = deg(p) i=0 α i u i, with α deg(p) 0. P (u, v) = n i,j=0 P ijbij n (u, v) - tensor-product Bézier polynomial of order n, P ij (or P i,j, Pi,j ) - Bézier control points (see Figure 2). 2.3 Planar mesh data Vertices, edges and twist characteristics Vertices, edges and twist characteristics of a single mesh element

21 2 Notations 13 Ã, B, C, D - four vertices of a convex quadrilateral planar mesh element (see Figure 4). t(ã, B, C, D) = Ã B + C D - twist characteristic of the element, double difference between the midpoints of the diagonals of the quadrilateral (see Figure 4). Vertices, edges and twist characteristics of two adjacent mesh elements λ, λ, γ, γ, ρ, ρ - vertices of two adjacent planar mesh elements (see Figure 5). ẽ (R) = ρ γ, ẽ (C) = γ γ, ẽ (L) = λ γ - directed planar mesh edges adjacent to vertex γ (see Figure 5). t (R) = t( γ, ρ, ρ, γ ), t (L) = t( γ, γ, λ, λ), where t is the twist characteristic of the planar mesh elements (see Figure 6). Edges and twist characteristics of elements adjacent to a given vertex Let planar mesh elements share the common vertex Ṽ of degree val(v ) (see Figure 7) ẽ (j) = Ṽ (j) Ṽ (j = 1,..., val(v )) - directed planar mesh edges adjacent to vertex Ṽ, ordered counter clockwise. t (j) = Ṽ Ṽ (j) + F (j) Ṽ (j+1) (j = 1,..., val(v ) for an inner vertex and j = 1,..., val(v ) 1 for a boundary vertex) - twist characteristics of planar elements adjacent to vertex Ṽ. 2.4 Partial derivatives of in-plane parametrisations Let two adjacent planar mesh elements be parametrized by L(u, v) and R(u, v) respectively and let L(1, v) R(0, v) (see Figure 8). L v = R v = L R v (1, v) = v (0, v) - partial derivatives of the in-plane parametrisations in the direction along the common edge. L u = L u (1, v), Ru = R u (0, v) - partial derivatives of the in-plane parametrisations along the common edge in the cross direction. λ i, ρ i - coefficients of the polynomials L u and R u with respect to the Bézier basis. λ (power) i, ρ (power) i the power basis. - coefficients of the polynomials L u and R u with respect to 2.5 Weight functions c(v), l(v), r(v) - scalar weight functions from the definition of G 1 -continuity (see Definition 7). Note that these are Bézier functions. c j, l j, r j - coefficients of the weight functions with respect to the Bézier basis.

22 2 Notations 14 c (power) j, l (power) j the power basis., r (power) j - coefficients of the weight functions with respect to (order(c), order(l), order(r)) (or (deg(c), deg(l), deg(r))) - match which is defined by formal (or actual) degrees of the weight functions. max deg(l, r) - maximum among deg(r) and deg(l) D data of the resulting surface Bézier control points of two adjacent patches C j, L j, R j (j = 0,..., n) - for two adjacent patches, Bézier control points along the common edge and of the rows adjacent to the common edge in the left and the right patch respectively. Control points C j are called central control points and control points L j, Rj are called side control points (see Figure 9). C j, L j, R j - first-order differences of the control points (see Figure 9) C j = C j+1 C j, j = 0,..., n 1 L j = C j L j, j = 0,..., n R j = R j C j, j = 0,..., n Bézier control points adjacent to some mesh vertex Let Ṽ be a planar mesh vertex of valence val(v ) and let Ṽ have at least one adjacent inner edge. The following notations are used for the control points adjacent to the vertex and participating in G 1 -continuity conditions for at least one inner edge (see Figure 10) V - control point corresponding to the mesh vertex, the control point (or its components) will be called V -type control point. Ē (1),..., Ē(val(V )) for an inner vertex or Ē(2),..., Ē(val(V ) 1) for a boundary vertex - the first control points adjacent to V along the inner edges emanating from the vertex; these control points (or their components) will be called tangent or E-type control points. D (1) (val(v )),..., D for an inner vertex D (2),..., D (val(v ) 1) for a boundary vertex - the second control points adjacent to V along the inner edges emanating from the mesh vertex; these control points (or their components) will be called D-type control points. T (1),..., T (val(v )) for an inner vertex or T (1),..., T (val(v ) 1) for a boundary vertex, which are adjacent to V and do not lie at any edge; these control points (or their components) will be called twist or T -type control points. (1) Partial derivatives of patches at the common vertex Partial derivatives of two adjacent patches at the common vertex Let two adjacent patches be parametrized as shown in Figure 11 and let the parametrisations agree along the common edge.

23 2 Notations 15 ɛ (R), ɛ (C), ɛ (L) - the first-order derivatives along right, central and left edges computed at vertex V. τ (R) ɛ (R) = R u (0, 0) = n R 0 ɛ (C) = R L v (0, 0) = v (1, 0) = n C 0 (2) ɛ (L) = L u (1, 0) = n L 0 - the second-order mixed partial derivatives of the left and the right patches computed at vertex V. τ (R) = 2 R u v (0, 0) = n2 ( R 1 R 0 ) τ (L) = 2 L u v (1, 0) = n2 ( L 1 L 0 ) (3) δ (C) = 2 R v (0, 0) = 2 L 2 v (1, 0) = n(n 1)( C 2 1 C 0 ) = n(n 1)(C 2 2C 1 +C 0 ) - Z-component of the second-order partial derivative along the central edge computed at vertex V. Partial derivatives of all patches sharing a common vertex Let patches sharing a common vertex V be parametrized as shown in Figure 10 and let parametrisations of adjacent patches agree along the common edges. P (j 1) v P (j) u ɛ (j) = n(ē(j) V ) = (0, 0) = (0, 0) - first-order partial derivative in the direction of edge ẽ (j), computed at vertex V. τ (j) = n 2 ( V Ē(j) + T (j) Ē(j+1) ) = 2 (j) P u v (0, 0) - second-order mixed partial derivative of patch P (j) computed at vertex V. δ (j) = n(n 1)(D (j) 2E (j) + V ) = 2 P (j 1) v (0, 0) = 2 P (j) 2 u (0, 0)- 2 Z-component of the second-order partial derivative in the direction of edge ẽ (j), computed at vertex V. 2.7 Definitions of special sets, spaces and equations Definitions of some sets of control points B (n), B(n) G, B(4,5) - see Definitions 5, 10 and 24 respectively. CP (n) (n) (n) (4,5), CP G, CP F, CP - see Definitions 5, 10, 10 and 23 respectively. middle control points - see Definition 16 for a mesh with a polygonal global boundary and Lemma 22 and Definition 21 for a mesh with a smooth global boundary. Definitions of some functional spaces FUN (n), FUN (4,5) - see Definition 4 and Part VI respectively. PAR (m) - see Definition 2. S r n - see Subsection

24 2 Notations 16 Definitions of some special equations and systems of equations Eq(s) indexed equation - see general Definition 9, Lemma 5 for a mesh with a polygonal global boundary and Lemma 19 for a mesh with a smooth global boundary. Eq(s)-type equations - see Definition 9. Middle system of equations - see Definition 16 for a mesh with a polygonal global boundary and Lemma 22 and Definition 21 for a mesh with a smooth global boundary. Restricted Middle system of equations - see Definition 21. sumc-equation, C-equation - see Definition 20.

25 2 Notations 17 Fig. 4: A planar mesh element. Fig. 5: Two adjacent planar mesh elements.

26 2 Notations 18 Fig. 6: Vectors important for computation of the actual degrees of the weight functions in the case of the bilinear parametrisation of two adjacent mesh elements. Fig. 7: Planar mesh elements adjacent to the common vertex.

27 2 Notations 19 Fig. 8: Partial derivatives of in-plane parametrisations for two adjacent patches. Fig. 9: Bézier control points adjacent to the common edge of two patches.

28 2 Notations 20 Fig. 10: Bézier control points adjacent to some mesh vertex. Fig. 11: Two adjacent parametric patches with G 1 -smooth concatenation along the common boundary.

29 21 Part II. Some fundamental results regarding G 1 -smooth surfaces Construction of the MDS (defined in Subsection 1.3.2) is based on the analysis of the smoothness conditions between adjacent patches. The current Section contains the formal definitions of the different kinds of smoothness and presents the general theoretical results of the vertex enclosure problem, which are closely connected to the analysis of the local structure of the MDS. 3 Basic definitions related to smoothness of the surface Two kinds of smoothness - functional and parametric ones - will be involved. The following standard definitions are used. Definition 6 (C 1 -smoothness of a functional surface): A functional surface Z(X, Y ) is C 1 -smooth over domain Ω if for every point (X, Y ) Ω the first-order partial derivatives Z Z X (X, Y ), Y (X, Y ) are well defined and continuous over Ω. In order to define G 1 parametric smoothness, let us consider two adjacent quadrilateral patches L(u, v) and R(u, v). Let every one of the patches be parametrized by the unit square (see Figure 11), such that their parametrisations agree along the common edge and the concatenation between the patches is G 0 -smooth (continuous) L(1, v) = R(0, v) for every v [0, 1] (4) In addition, every patch is supposed to be sufficiently smooth, with at least a continuous first order partial derivatives along the common edge. Equation 4 implies that L v (1, v) = R v (0, v) for every v [0, 1] (5) Definition 7 (G 1 -smooth concatenation between two parametric patches): Patches L(u, v) and R(u, v) join G 1 -smoothly along the common edge if and only if there exist a scalar-valued weight functions l(v), c(v), r(v) such that for every v [0, 1] L u (1, v)l(v) + R u (0, v)r(v) + L v (1, v)c(v) = 0 (6) l(v)r(v) < 0 (7) < L u (1, v), L v (1, v) > 0 (8) (see Definition given in [35]). Geometrically < L u, L v > and < R u, R v > define the tangent plane normals for the left and the right patches respectively. Equation 6 means that the tangent planes of the adjacent patches are co-planar along the common edge. Equation 8 means normal to the the tangent plane does not vanish and Equation 7 controls the orientation of the patches in order to avoid cusps. We have the following Lemma :

30 4 The vertex enclosure problem 22 Lemma 1: Let two patches with a linear common edged join G 1 smoothly then their respective parametrisation join C 1 continuously. Proof The common face of the two patches being a linear segment, one can trivially reparametrize one as image of the second,this is a special case Peters fundamental Lemma [37]. Lemma 1 It is then possible to combine the functional representation of the surface defining the energy functional and the parametric representation of the surface in order to impose the G 1 smoothness constraints in parametric form. 4 The vertex enclosure problem The current Section mainly relates to the work [35], devoted to smooth interpolation of a given 3D mesh of curves. The work is chosen as the main reference, because it formulates and analyses in details the general vertex enclosure constraint. The satisfaction of the vertex enclosure constraints determines the existence of a G 1 -smooth interpolant for a given 3D mesh of curves. (Generalisation of the vertex enclosure problem to the case of concatenation of a few patches around a common vertex with a definite degree of smoothness can be found in [36].) 4.1 General formulation of the vertex enclosure constraint Let a 3D mesh of polynomial curves be given, ( we only study meshes which faces are 4-sided,) construct a G 1 -smooth piecewise Bézier tensor-product interpolanting these curves. ( [35] contains a full analysis for the mixed triangular/quadrilateral meshes and shows that from a theoretical point of view the quadrilateral or triangular form of a patch does not lead to essential differences for the vertex enclosure constraint). In the problem formulated above, the boundary curves of every patch (mesh curves) are given and the inner Bézier control points of every patch play the role of unknowns. These unknowns should satisfy G 1 -continuity constraints, which means that the weight functions from Definition 7 should exist for every inner edge of the mesh. In particular these functions should exist for every one of the edges that share a common inner vertex. Consideration of G 1 -continuity constraints together for all edges adjacent to the same vertex leads to a so called vertex enclosure problem. The vertex enclosure constraint is met at a mesh vertex V if weight functions could be simultaneously defined for each mesh edge emanating from V. For an inner mesh vertex Equations 6 applied to all edges emanating from the vertex have a circulant nature (the left patch of the first edge is also the right patch of the last edge) and lead to a linear system of equations such that the matrix of the system has a circulant structure. Independently of the order and geometry of the mesh curves, the matrix is always invertible at the odd vertices and rank deficient at the even vertices. At the even vertices the rank of the matrix is equal to its size minus one, which generally means that one additional constraint for every even mesh vertex should be satisfied in order to allow a G 1 -smooth interpolation. A mesh is called admissible if a G 1

31 4 The vertex enclosure problem 23 smooth interpolant can be constructed (or in other words, if weight functions for all inner edges can be defined without contradictions). In Peters, [35], the vertex enclosure constraint is considered in its most general form (for example, the mesh curves sharing the common vertex may have different polynomial degrees), which leads to quite complicated equations. The constraint is not written explicitly, sufficient conditions that allow concluding that a given mesh is admissible are supplied. We will show that in our case, the explicit form of the vertex enclosure constraint becomes very simple and elegant. The Subsection presents formulas from Peters [35] in order to verify later that results of the current work fit the general theory. The general results are formulated in notations of the current work (see Section 2). Although it makes the presentation quite different from its original, the conversion between different forms of presentation is purely technical and straightforward. In order to make the formulas more compact and clear, some minor simplifying assumptions, which are always satisfied in the current work, will be used. According to the problem definition, a quadrilateral mesh of curves of degree m should be G 1 -smoothly interpolated by piecewise tensor-product Bézier patches of degree n. G 1 -continuity between a pair of adjacent patches implies that the following two equations should be satisfied. Tangent Constraint c 0 C 0 + l 0 L 0 + r 0 R 0 = 0 (9) Twist Constraint (n 1)c 0 C 1 + deg(c)c 1 C 0 + n l 0 L 1 + deg(l)l 1 L 0 + n r 0 R 1 + deg(r)r 1 R 0 = 0 (10) Here notations from Section 2 are used. In particular C j, L j, R j are the control points of Bézier patches (see Figures 11) and c j, l j, r j are coefficients of the weight functions. In the interpolation problem formulated in work [35], tangents C 0, L 0, R 0 and boundary curve control points C j (j = 0,..., n) are given, and twist control points L 1 and R 1 as well as coefficients of the weight functions serve as unknowns. For a vertex V with val(v ) emanating curves, superscript j will be used when tangent or twist constraint is considered for the curve with order number j = (j) 1,..., val(v ). Control points C i, L (j) (j) i, R i for i = 0, 1 participate in different roles in equations for more than one curve. In order to avoid an ambiguity, notations V, Ē(j) and T (j) will be used respectively for the vertex, tangent and twist control points (see Subsection 2.6.2). The Tangent Constraint defines (up to a scale factor) the zero-indexed coefficients of the weight functions. These coefficients depend on the geometry of the tangent vectors of curves emanating from the vertex. The Twist Constraint for curve with order number j can be rewritten in the form m l (j) 0 T (j) m r (j) 0 T (j 1) = Ā(j) (11)

32 4 The vertex enclosure problem 24 where Ā (j) = (n 1)c (j) (j) 0 C 1 + deg(c (j) )c (j) (j) ( ) 1 C 0 + mē(j) (m n) L (j) 0 + deg(l (j) )l (j) 1 ( ) mē(j) + (m n) l (j) 0 r (j) 0 R (j) 0 L (j) 0 + deg(r (j) )r (j) (j) 1 R 0 (12) For an inner vertex V, the Twist Constraint applied simultaneously to all the val(v ) edges emanating from the vertex, leads to a circulant linear system of equations. MT = A (13) Here matrix M has a circulant structure M = l (1) r (1) 0 r (2) 0 l (2) r (3) 0 l (3) (val(v ) 2) l (val(v ) 1) r 0 (val(v ) 1) l (val(v )) r (val(v )) 0 l 0 (14) and T = T (1) (val(v )). T A = Ā (1).Ā(val(V )) (15) Equation 13 together with the dependency defined by the Tangent Constraint lead to the general Parity Phenomenon. The following two theorems are due to Peters [35]. Theorem 1 (The General Parity Phenomenon): For an inner vertex V, matrix M (see Equation 13) is of full rank if and only if V is an odd vertex. Otherwise its rank is equal to val(v ) 1. From the algebraic point of view, the Parity Phenomenon means that in case of an even vertex some linear combination of the right sides of equations should be equal to zero. In the mesh interpolation problem the only free variables of the right-side expressions are coefficients of the weight functions (more precisely - coefficients with index 1 and scaling factor for the coefficients with index 0). If these coefficients are fixed in advance, then the Parity Phenomenon implies that the given mesh should satisfy one additional constraint for every even vertex. In general, the existence of G 1 -smooth interpolant depends on the solvability of a quite complicated equation in terms of coefficients of the weight functions. It appears that in order to conclude that a given mesh of curves is admissible, the complicated equation should not be solved explicitly. Instead of it, one can verify whether the mesh satisfies the sufficient conditions formulated below.

33 4 The vertex enclosure problem 25 Theorem 2 (Sufficient conditions for the vertex enclosure constraint): If at every inner even vertex V of a given mesh of curves either of the following holds (Colinearity Condition) The vertex is a 4-vertex and all odd-numbered and all even-numbered curves emanating from V have colinear tangent vectors (that is the tangent vectors form an X ). (Sufficiency of C 2 Data) The mesh curves emanating from V are compatible with a second fundamental form at V. then the mesh is admissible.

34 26 Part III. General linearisation method This Part shows that the functional space FUN (n) (see Definition 4) reduces the problem formulated in paragraph 1.1 to the solution of some linear constrained minimisation problem. Later the general method for linearisation will be applied to cases when a planar mesh has a polygonal (Part IV) or piecewise-cubic G 1 - smooth global boundary (Part V). In addition this Part provides some important definitions and notations related to the general flow of the solution and to the analysis of the MDS for the different kinds of additional constraints. 5 Linearisation of the minimisation problem 5.1 Linearisation of the smoothness condition Properties of a global regular in-plane parametrisation (see Definition 2) play a principal role in the following discussion. We now complete this definitionn by : Definition 8: (Regular parametrisation of a mesh element) In-plane parametrisation P (u, v) = (P X (u, v), P Y (u, v)), (u, v) [0, 1] 2 single mesh element p Q is called regular if and only if of a (1) P (u, v) is a bijective mapping between the unit square and p (2) P (u, v) is at least C 1 -smooth (3) The Jacobian J ( P ) (u, v) of the mapping has no singular points: for every (u, v) [0, 1] 2 det(j ( P ) (u, v)) = det ( PX u P X v P Y u P Y v ) 0 (16) Theorem 3: Let Π be a fixed global regular in-plane parametrisation and Ψ a piecewise parametric 3D function agreeing with Π (see Definition 3). Let two adjacent mesh elements be parametrized as shown in Figure 11, and let L = ( L, L) and R = ( R, R) denote the restriction of Ψ on the elements. Then the G 1 -continuity of Π along the common edge is equivalent to the satisfaction of the equation where L u (v)l(v) + R u (v)r(v) + L v (v)c(v) = 0 (17) c(v) =< L u, R u >, l(v) =< R u, L v >, r(v) = < L u, L v > (18) are fixed scalar-valued functions and L u (v), R u (v), L v (v) are the Z-components of the partial derivatives along the common edge. Functions c(v), l(v), r(v) computed according to Equation 18 will be called conventional weight functions.

35 5 Linearisation of the minimisation problem 27 Proof See Appendix, Section D. Lemma 1 and Theorem 3 imply that the requirement of C 1 -smoothness in definition of space FUN (n) (Definition 4, Item (3)) may be substituted by the weaker requirement of G 1 -smoothness, and, furthermore, by the requirement that Equation 17 is satisfied for every inner edge. Thus the smoothness conditions can be studied in terms of the Z-components of the Bézier control points of the adjacent patches. Moreover, we have the following Lemma. Lemma 2: Let Π PAR (m) and Ψ FUN (n) ( Π) for n > m. Then the sum in Equation 17 is a Bézier polynomial of (formal) degree n+2m 1; its coefficients are linear functions in terms of Z-components of the control points. In order to satisfy the G 1 -continuity condition, it is sufficient to impose NumEqF ormal = n + 2m linear equations of the form : ( n j j + k = s 0 j n 0 k 2m 1 ) ( 2m-1 k ) (l k L j + r k R j ) + ( n-1 j j + k = s 0 j n 1 0 k 2m ) ( 2m k ) c k C j = 0 (19) where s = 0,..., n + 2m 1. Here L j, R j (j = 0,..., n) and C j (j = 0,..., n 1) are first order differences between Z-components of the control points, defined in Subsection The system may contain redundant equations. The number of necessary and sufficient equations is given by NumEqActual = n + max{max deg(l, r) + 1, deg(c)} (20) Proof See Appendix, Section D. Definition 9: The following notations will be used Indexed equation Eq(s) - the equation which follows from equality to zero of the Bézier coefficient with index s NumInd - the number of the indexed equations (for one edge). Although in most situations NumInd is equal to the total number of equations, the equality should not be necessarily satisfied, because one may like to separate some equations with a special meaning from the homogeneous system of the indexed equations. Eq(s) -type equations - pair of equations Eq(s) and Eq(NumInd-1-s) (s = 0,..., (NumInd 1)/2 ). Definition of Eq(s) -type equations clearly makes sense in cases when equations Eq(s) and Eq(NumInd-s) are symmetric (for example, in the case when inplane parametrisations of the elements adjacent to an edge have a symmetric form and both vertices of the edge are inner). The formal definition of Eq(s) - type equations in non-symmetric cases will also be used. Of course, the linear systems should be considered for all inner edges. The global system may have a sufficiently complicated structure: some control points

36 5 Linearisation of the minimisation problem 28 participate in G 1 -continuity equations for more than one edge. In addition, a relatively high degree of in-plane parametrisation results in high degrees of the weight functions and increases both the total number of equations and the complexity of each equation. A study of the global system is equivalent to a study of the MDS, since it is composed of the control points, which correspond to free variables of the linear system. In addition to an analysis of the dimensionality, one should clearly be careful of a uniform distribution of the basic control points. Dimensionality and structure of the MDS for concrete choices of in-plane parametrisation will be analysed in detail in Parts IV and IV. Special attention will be paid to a study of the geometrical meaning of equations involved in the linear system. 5.2 Linear form of additional constraints The current Subsection describes the commonly used types of interpolation and boundary constraints and shows which control points become fixed as a result of application of the constraint. The relation between MDS and the chosen type of additional constraints will be explained in greater detail in Subsection Interpolation constraints The following constraints (the first one and optionally the second or/and the third ones) are usually applied in the case of an interpolation problem. (Vertex)-interpolation. The resulting surface should pass through the given 3D point at every mesh vertex. The constraint involves V -type control points (see Subsection for definition) of the mesh vertices. (Tangent plane)-interpolation. The normal of the tangent plane at every 3D vertex should have a specified direction. At every mesh vertex, in addition to V - type control point, the constraint involves E-type control points. The constraint automatically fits the requirement of G 1 -smoothness. The assignment values for two E-type control points of two non-colinear edges at every vertex is sufficient. (Boundary curve)-interpolation. The resulting surface should interpolate a given 3D curve along the global boundary. The constraints result in assignment values for all control points lying on the global boundary of the mesh. The following notations will be used in order to specify the kind of interpolation problem: round brackets () mean that the type of interpolation is applied, square brackets [] mean that the type of interpolation is optional. For example, the (vertex)[tangent plane]-interpolation problem means that the resulting surface should pass through given 3D points at vertices and in addition the normals of the tangent planes at vertices might be specified Boundary conditions The following standard boundary conditions are imposed when an approximate solution of some partial differential equation should be found. Here P = ( P, P ) is the restriction of the resulting function to some boundary mesh element p Q

37 5 Linearisation of the minimisation problem 29 The standard simply-supported bound- Simply-supported boundary condition. ary constraint implies that P (boundary) = 0 (21) should be explicitly fixed. Let P (u, v) be a patch, such that P (u, 0) lies on the global boundary of domain Ω (see Figure 12),then the simply-supported boundary condition means that P i0 = 0 for every i = 0,... n (22) Clamped boundary condition. The standard clamped boundary condition means that P (boundary) = 0 and P (boundary) = 0 (23) Ñ where Ñ is the unit planar normal to the boundary of the domain. Let patch P (u, v) have a regular in-plane parametrisation P (u, v). Then ( ) v P X N X + v P Y N Y = P v (24) P = P Ñ v P u det(j P ) where P u (boundary) 0, because otherwise Ñ(boundary) is not correctly defined. Condition P v (boundary) = 0 together with condition P (boundary) = 0 imply equality to zero of the Z-components of two rows of the boundary control points (see Figure 12) P ij = 0 for every i = 0,... n, j = 0, 1 (25) Non homogeneous boundary conditions can also be treated given functions F and G, consider P (boundary) = F and P Ñ (boundary) = G. If functions F and G are represented or approximated by Bézier parametric polynomials of some degrees (for example degree of F should be less or equal to the chosen degree of polynomial for Z-component of the patch), then this general condition does not lead to additional complications. For the current approach it is important that the control points which are defining the boundary conditions be free from dependencies which follow from G 1 -smoothness conditions. A simply-supported boundary condition affects the control points along the global boundary of domain; a clamped boundary condition affects the control points along the global boundary of the domain and the control points adjacent to the boundary. 5.3 Quadratic form of the energy functional Let Π be a fixed global regular parametrisation, Ψ FUN (n) ( Π) and P = ( P, P ) = Ψ p be the restriction of Ψ on some mesh element p Q. The in-plane parametrisation P = Π p is fixed, therefore all partial derivatives of Z with respect to X and Y become linear in terms of Z-components of Bézier control points. Any energy functional defined as the integral of some quadratic expression of the partial derivatives has a quadratic form in terms of Z-components of the control points, hence we have a quadratic minimisation problem.

38 5 Linearisation of the minimisation problem 30 The expression for the energy functional depends on the chosen in-plane parametrisation of the mesh element and may be different for different elements. Although the basic kind of parametrisation considered in the present work (the bilinear parametrisation) leads to very simple formulas, a separate computation is generally required for every mesh element. Section E (see Appendix) presents an example of computation of energy functional in the case of bilinear in-plane parametrisation. Fig. 12: Control points involved into the boundary conditions.

39 6 Principles of construction of MDS 31 6 Principles of construction of MDS 6.1 Special subsets of control points and their dimensionality To clarify the discussion, and restrict their number that should be analysed we introduce some subsets of control points. Definition 10: Let (see Figures 13 and 14) CP (n) (n) F : subset of in-plane control points CP which are not involved in the G 1 -continuity conditions; CP (n) (n) G ( B G ) : subset of in-plane control points (n) CP (resp. minimal determining set B (n) ) which participate in G 1 -continuity conditions. The set F of control points (in other words, all control points which do not lie at some inner edge or adjacent to it) clearly belong to any determining set. CP (n) Lemma 3: Dimensions of the subsets G and formulas (here denotes dimension of a set) CP (n) CP (n) F are given by the following CP F = (n 3) 2 F ace inner + (n 3)(n 1) F ace boundary + non corner (n 1) 2 F ace corner CP G = V ert non corner + 3 V ert boundary non corner + (3n 5) Edge inner (26) The following relations take place CP (n) = CP (n) G + CP (n) F, B (n) = (n) B G + CP (n) F (27) The important conclusion from Lemma 3 is that we only need to study the structure and dimensionality of B(n) G - subset of the minimal determining set which participates in G 1 -continuity conditions. 6.2 Relation between MDS and the additional constraints The definition of paragraph 1.1, implies that any additional constraints is assumed to be consistent and to fit the G 1 -continuity requirements. An additional constraint result in some definite control points being fixed. These control points get their values according to the additional constraints and can not influence the satisfaction of G 1 continuity conditions. Definition 11: The minimal determining set B (n) is said to fit a given additional constraint if any control point which should be fixed according to this additional constraint either

40 6 Principles of construction of MDS 32 Belongs to B (n) or Does not belong to B (n) but depends only on the control points which (n) belong to B An MDS is called pure if it is constructed according to G 1 -conditions alone and is not required to fit any specific additional constraint. 6.3 Principle of locality in construction of MDS As it was mentioned above, MDS is not uniquely defined. According to the current approach, construction of the MDS will be built up gradually and will follow two (closely connected) kinds of locality concepts. At every step of MDS construction, some subset of the linear equation will be considered. The first principle of locality requires that the subset includes indexed equations (see Definition 9) with successive indices. In addition, the analysis starts from the application of the equations locally, for example, to edges sharing some common vertex or to control points participating in G 1 -continuity equation for a given edge. Control points, which get their status (basic or dependent) during the construction step, clearly obey the principle of geometrical locality. The local set of the control points which are classified according to the local application of some set of equations, is called local template of MDS (see Figure 23). As soon as the local analysis is completed, one should define the order in which the local templates should be constructed and take care to put together the local templates without contradiction (different local templates may intersect!). 6.4 Aim of the classification process Construction of the MDS implies assignment of the definite status to every one of the control points. Control points, which belong to the MDS, are basic control points and the rest are dependent control points. For a given additional constraint, the basic control points which get their values according to the additional constraints are called basic fixed, the remaining basic control points are basic free. Classification process by definition includes - Construction of the minimal determining set MDS (or several instances of the MDS). - Description of the dependency of every one of the dependent control points on the basic ones. (More precisely, dependency of Z-component corresponding to the dependent control point on Z-components corresponding to the basic control points). - For a given additional constraint, the choice of the instance of MDS that fits the constraint.

41 7 From MDS to solution of the linear minimisation problem 33 It is important to note, that although usually several different configurations of MDS are considered, construction of MDS follows some definite principles (see Subsection 6.3) and of course does not cover all possible configurations. According to the current approach, in case none of the constructed instances of B (n) fits some additional constraint, MDS of a higher degree will be considered. However, failure to choose a suitable instance of MDS does not necessarily imply that a pure algebraic solution of the constrained linear system does not exist in space FUN (n). For example, it will always be assumed that any V - type control point belongs to MDS, while an algebraic solution may use such a control point as a dependent one in non-interpolating problems. In order to make the discussion precise, the following definition of the stages of the classification process is introduced. Definition 12: A Stage is usually a large part of the classification process, which is defined by some set of equations and so that at the end of the stage: (1) All control points which participate (or may participate under definite geometrical conditions) in these equations are classified (as basic or dependent ones) and the status of every one of the control points is final, it can not be changed during the next stages of the classification. (2) Any dependent control point depends only on the control points with the final basic classification status. (3) All these equations are satisfied by classification of the control points. 7 From MDS to solution of the linear minimisation problem As soon as for a given additional constraint, a suitable MDS is constructed, dependencies of the dependent control points are defined and energy for every mesh element is computed, construction of the solution of the linear minimisation problem is made in straightforward algebraic manner (see Appendix, Section F for more details).

42 7 From MDS to solution of the linear minimisation problem 34 (a) (b) (c) Fig. 13: Control points, which do not participate in G 1 -continuity conditions (a) Inner element (b) Corner element (c) Boundary non-corner element. Fig. 14: Control points of a global in-plane parametrisation.

43 35 Part IV. MDS for a quadrilateral mesh with a polygonal global boundary 8 Mesh limitations The following minor mesh limitations are always supposed to be satisfied - The mesh consists of strictly convex quadrilaterals. Every mesh element is a convex quadrilateral and angle between any two sequential edges is strictly less than π. - Boundary vertices have valence 2 (a corner vertex) or 3 (see Figures 15(a), 15(b)). The situation shown in Figure 15(c) is not allowed. - Any inner edge has at most one boundary vertex. The limitations are naturally satisfied in most of the practical situations. In addition, a standard technique of necklacing (see [24]) may be applied to a mesh in order to achieve the second and the third requirement. It is convenient to introduce an additional minor mesh limitation, which is required to be satisfied only when MDS of degree n = 4 is considered. In this case a planar mesh should satisfy the Uniform Edge Distribution Condition, defined as follows Definition 13: The mesh is said to satisfy the Uniform Edge Distribution Condition if for any even vertex of degree 6 which has two pairs of colinear edges, the remaining edges (2 edges in case of a 6-vertex, 4 edges in case of a 8-vertex and so on) do not all belong to the same quadrant formed by lines containing the colinear edges (see Figure 16). (a) (b) (c) Fig. 15: An illustration for the mesh limitations.

44 9 In-plane parametrisation 36 Fig. 16: Examples of meshes, which do not satisfy the Uniform Edge Distribution Condition. 9 In-plane parametrisation For a quadrilateral planar mesh element, the bilinear in-plane parametrisation will be considered. It is a natural choice because for a general quadrilateral (without curvilinear sides) it clearly provides a parametrisation of the minimal possible degree, which finally leads to the minimal possible number of G 1 -continuity equations. For a convex quadrilateral planar mesh element with vertices Ã, B, C, D (see Figure 4) the parametrisation is given by explicit formula P (u, v) = Ã(1 u)(1 v) + Bu(1 v) + Cuv + D(1 u)v (28) and det(j ( P ) (u, v) > 0 for every (u, v) [0, 1] 2, hence the following Lemma holds. Lemma 4: For a strictly convex planar quadrilateral element, the bilinear inplane parametrisation of the element is regular. The bilinear parametrisations for all mesh elements clearly satisfies the requirements of Definition 2 and define a degree 1 global regular in-plane parametrisation Π (bilinear) PAR (1). Explicit formulas for in-plane control points which belong to G ( Π (bilinear) ) are given in Technical Lemma 1 (see Appendix, Section C). CP (n) 10 Conventional weight functions and linear form of G 1 -continuity conditions Application of the general linearisation method (Theorem 3 and Lemma 2) to a particular case of bilinear in-plane parametrisation leads to the next Lemma. Lemma 5: Let two adjacent mesh elements with vertices λ, λ, γ, γ, ρ, ρ Figure 5) each with a bilinear in-plane parametrisation, then (see (1) The conventional weight functions l(v), r(v) and c(v) along the common edge are Bézier polynomials of (formal) degrees 1,1 and 2 respectively and

45 11 Local MDS 37 their coefficients with respect to the Bézier basis depend on the geometry of the planar elements in the following way l 0 = ρ γ, γ γ c 0 = ρ [ γ, λ γ l 1 = γ γ, ρ γ c 1 = 1 2 ρ γ, λ ] γ λ γ, ρ γ r 0 = γ γ, λ γ c 2 = λ γ, ρ γ r 1 = λ γ, γ γ (29) (2) The system of n+2 linear equations Eq(s) for s = 0,..., n+1 is sufficient in order to satisfy the G 1 - continuity condition along the common edge Eq(s) (n + 1 s)(l 0 L s + r 0 R s ) + s(l 1 L s 1 + r 1 R s 1 )+ (n s)(n+1 s) n c 0 C s + 2s(n+1 s) n c 1 C s 1 + s(s 1) n c 2 C s 2 =0 (30) Here L j, R j for j < 0 or j > n and C j for j < 0 or j > n 1 are assumed to be equal to zero. Weight functions l(v), r(v) and c(v) may have lower actual degrees than 1, 1 and 2. Weight function l(v) becomes constant if t (R) is parallel to γ γ; r(v) becomes a constant if t (L) is parallel to γ γ and the actual degree of c(v) is at most 1 if t (R) and t (L) are parallel (see Figure 6 and Subsection for definition of t (R) and t (L) ). For example, in the case of two adjacent square elements deg(l) = deg(r) = 0, deg(c) 1. It implies that n + 1 linear equations are sufficient in order to guarantee G 1 -smooth concatenation and therefore an additional degree of freedom is available. 11 Local MDS As stated in Subsection 6.3, construction of the MDS follows the principle of locality. All control points are subdivided into several types: V,E,D and T - type control points adjacent to some mesh vertex (see Subsection 2.6.2) and the middle control points adjacent to some mesh edge (see Definition 16). Every type of the control points is responsible for the satisfaction of some definite subset of the linear equations. The current Subsection is devoted to an analysis of equations applied to a separate mesh vertex or edge, a possible influence of the other equations is ignored. The analysis results in construction of local MDS, templates, which locally define which control points belong to MDS and describe the dependencies of the dependent control points. The same set of equations may define several structures of the MDS, suitable for the different mesh geometry and different types of additional constraints. Definition 14: We say that two local templates are different, if they contain a different number of basic control points or if there is a difference in the types or a principal difference in the location of the control points. Note 1: Sometimes, the templates do not uniquely specify which control points should be classified as basic. In case of ambiguity, classification of the control

46 11 Local MDS 38 points is made arbitrarily. The local geometric characteristics, such as edge lengths or angles, plays an important role in stabilizing the solution and can be a matter of additional research Local classification of E,V -type control points for a separate vertex based on Eq(0) -type equations Formal equation and geometrical formulation Formal substitution of s = 0 in Equation 19 gives Eq(0) l 0 L 0 + r 0 R 0 + c 0 C 0 = 0 (31) It is precisely the general Tangent Constraint (Equation 9) applied to Z- components of the control points. The difference is that in the curve mesh interpolation problem 3D tangents L 0, R 0, C 0 are given and coefficients of the weight functions are unknown. In the current case on the contrary, coefficients of the weight functions are fixed a priory and Z-components of the control points play the role of unknowns. Eq(0) -type equations have a very simple geometrical meaning. Let Ṽ be a planar mesh vertex of degree val(v ) and ẽ (j) (j = 1,..., val(v )) be a directed planar mesh edges emanating from Ṽ (see Figure 7). Then for the edge ẽ(j), zero-indexed coefficients of the weight functions can be rewritten as follows l (j) 0 = ẽ (j 1), ẽ (j), r (j) 0 = ẽ (j), ẽ (j+1), c (j) 0 = ẽ (j 1), ẽ (j+1) (32) Note that Ē(j 1) V, Ē (j) V, and Ē(j+1) V are colinear if and only if 0 = mix Ē (j 1) V Ē (j) V E (j 1) V = 1 Ē (j+1) V n mix E (j) V 2 E (j+1) V l (j) 0 (E(j+1) V ) + c (j) 0 (E(j) V ) + r (j) 0 (E(j 1) V ) ẽ j 1 ẽ j ẽ j+1 = (33) which exactly means that the Eq(0) -type equation for the edge with order number j is satisfied, thus Ē(j) V, (j = 1,..., val(v ) ) are coplanar ; this can be summed up in the lemma: Lemma 6: Let V be a 3D vertex control point and let Ē(j),(j = 1,..., val(v )) be the edge control points adjacent to the vertex (see Subsection 2.6.2). Then for Eq(0) -type equations applied simultaneously to all edges sharing vertex V, the tangent vectors Ē(j) V (j = 1,..., val(v )) should be coplanar Degrees of freedom and dependencies At every vertex, the tangent plane is defined by any three noncolinear control points lying in it. Let V -type control point and such a pair of E-type control points Ẽ(i), Ẽ(j) (1 i, j val(v )), that ẽ (i) and ẽ (j) are not colinear, be classified as basic. Any other E-type control point Ẽ(k) is classified as dependent.

47 11 Local MDS 39 Its dependency (dependency of the corresponding Z-component) is defined by system of Eq(0) -type equations and has the following explicit form E (k) = 1 ẽ (i),ẽ (j) { E (i) ẽ (j), ẽ (k) E (j) ẽ (k), ẽ (i) + V ( )} ẽ (i), ẽ (j) + ẽ (j), ẽ (k) + ẽ (k), ẽ (i) (34) Local templates for a separate inner vertex For any inner vertex, we classify as basic any V type control point that has the properties above. The remaining E-type control points depend on the basic control points according to Equation 34. The correspondent local template is shown in Figure 17(a). This local MDS clearly fits all types of considered additional constraints, including the (vertex)(tangent plane)-interpolation condition. The basic control points can be easily classified into free and fixed, depending on the kind of the additional constraints Local templates for a separate boundary vertex According to the mesh limitations, any non-corner boundary vertex Ṽ has exactly one adjacent inner edge ẽ (2). The following two local templates are defined: T B0 (V,E) (Figure 17(b)). The local MDS contains Ṽ, the boundary control point Ẽ(1) and the inner control point Ẽ(2). This template is always used when the boundary edges are colinear. T B1 (V,E) (Figure 17(c)). The local MDS contains Ṽ and two boundary control points Ẽ(1), Ẽ (3). This template is always used in the case of boundary curve interpolation and simply supported boundary conditions, provided the boundary edges are not colinear. The following two examples show that for the considered additional constraint at least one of T B0 (V,E), T B1 (V,E) provides the local MDS which fits the constraint and present classification of the basic control points into free and fixed. (Vertex)(Boundary curve)-interpolation condition. If the boundary edges are not colinear, then T B1 (V,E) is used. Ṽ, Ẽ(1) and Ẽ(3) are basic fixed control points; Ẽ(2) is dependent, the corresponding Z-component is computed according to Equation 34. If the boundary edges are colinear, then T B0 (V,E) is used. Ṽ and Ẽ(1) are basic fixed control points, Ẽ (2) is a basic free one. In this case, one should verify that the data of the boundary curve fits the Tangent Constraint : the given value of E (3) should be equal to the value computed according to Equation 34, using the given values of V and E (1). Clamped boundary condition. It is always possible to make use of T B0 (V,E). All basic control points are fixed. The standard clamped boundary constraint clearly satisfies the Tangent Constraint. In case of a more complicated clamped boundary condition, classification of the control points remains unchanged. One

48 11 Local MDS 40 should verify that the boundary condition and the Tangent Constraint fit together. Value of E (3) computed according to Equation 34, should be equal to the value given by the boundary condition Local classification of D,T -type control points for a separate vertex based on Eq(1) -type equations In the current Subsection it will always be assumed that V,E-type control points are classified and Eq(0) -type equations are satisfied by choice of an appropriate template Formal equation and geometrical formulation Substitution of s = 1 in Equation 30 leads to the formula Eq(1) n(l 0 L 1 + r 0 R 1 ) + (l 1 L 0 + r 1 R 0 )+ (n 1)c 0 C 1 + 2c 1 C 0 = 0 (35) This is a particular case of the general Twist Constraint (Equation 10) applied to Z-components of the control points. An advantage of the current particular case is that the coefficients of the weight functions have a clear geometrical meaning, closely connected to the structure of the initial planar mesh. It allows rewriting Eq(1) in a more meaningful form. Let Ṽ be a planar mesh vertex of degree val(v ) and ẽ(j) (j = 1,..., val(v )) be directed planar mesh edges emanating from Ṽ (see Figure 7). Let Ψ FUN (n) ( Π (bilinear) ) and patch P (j) denote the restriction of Ψ on the mesh element adjacent to Ṽ, containing edges ẽ(j 1) and ẽ (j) (see Figure 10) as part of its boundary. The following important relations between XY - components of the first and second-order partial derivatives of the patches and the initial mesh data hold ɛ (j) = (ẽ (j), n(e (j) V )) τ (j) = ( t (j), n 2 (D (j) 2E (j) + V )) = ( t (j), n n 1 δ(j) ) (36) Here ɛ (j) and τ (j), δ (j) are the first and second order partial derivatives (see Subsection 2.6.3) and ẽ (j), t (j) are directed planar edges and twist characteristics of the planar mesh elements (see Subsection 2.3.1). Relations given in Equation 36 allow to conclude that the following Lemma holds. Lemma 7: Let all Eq(0) -type equations for all inner edges adjacent to vertex Ṽ be satisfied by classification of V and E-type control points. Then for inner edge ẽ (j), Eq(1) -type equation applied to the control points adjacent to vertex Ṽ, has the following geometrical form tw (j) + tw (j 1) = coeff (j) δ (j) (37) Where τ tw (j) 1 (j) = ẽ (j), ẽ (j+1) mix ɛ (j), coeff (j) ẽ (j 1), ẽ (j+1) = 2 ɛ (j+1) ẽ (j 1), ẽ (j) ẽ (j), ẽ (j+1) (38)

49 11 Local MDS 41 Proof See Appendix, Section D. It is important to note, that tw (j) and δ (j) are linear expressions in terms of V -type, E-type and T -type or D-type control points; tw (j) contains a single non-classified T -type point T (j) and δ (j) contains a single non-classified D-type point D (j) Theoretical results for an inner vertex The Parity Phenomenon. Application of Lemma 7 to all edges emanating from a common inner vertex leads to the following Theorem. Theorem 4: Let Ṽ be an inner vertex of degree val(v ) and let Eq(0) -type equations for all edges adjacent to the vertex be satisfied. Then (1) The system of Eq(1) -type equations applied simultaneously to all edges adjacent to Ṽ has the following form M tw tw (1). (val(v )) = coeff (1) δ (1). coeff (val(v )) (val(v )) δ where M is the matrix with a simple circulant structure M = (39) (40) (2) In the case of an even odd vertex matrix M is of full rank. In the case of an odd even vertex rank(m) = val(v ) 1 and the system has a solution if and only if the following additional condition is satisfied Circular Constraint val(v ) j=1 ( 1) j coeff (j) δ (j) = 0 (41) Note 2: The Circular Constraint does not involve T -type control points. It establishes some dependency between D-type control points adjacent to a given vertex. (Under the assumption that all V -type and E-type control points are already classified according to the first stage of the classification process). Results of Theorem 4 clearly fit the general Parity Phenomenon (Theorem 1). The Circular Constraint corresponds to the necessary condition which should be satisfied for the right sides of the general Twist Constraint (see Equation 12) for an even vertex. The main advantage of the current particular case is a very elegant and geometrically meaningful form of the Circular Constraint.

50 11 Local MDS 42 The way in which the Circular Constraint is applied presents the second important difference between the current approach and the standard techniques for interpolation by 3D smooth piecewise parametric surface. Usually some initial data (3D mesh of curves in work [35]) is tested to satisfy the necessary condition. In case of negative answer, a G 1 -smooth surface cannot be constructed. In the current approach one may take advantage of the fact that even in the case of (vertex)(tangent plane)-interpolation, a boundary curve of two adjacent patches (which has at least degree 4) is not totally fixed. At least one control point in the middle of every curve remains non-fixed. The purpose is to construct the MDS in such a manner, that every vertex at which the Circular Constraint should be satisfied, has at least one own basic D-type control point. Note 3: Coefficient coeff (j) of δ (j) (D (j) ) in the Circular Constraint may be equal to zero; it happens if the planar mesh edges ẽ (j 1) and ẽ (j+1) are colinear. In this case D (j) does not contribute to the Circular Constraint. Definition 15 (Regular 4-vertex): Vertex of valence 4 is called 4-regular if 4 planar edges emanating from the vertex form two colinear pairs: ẽ (1) is colinear to ẽ (3) and ẽ (2) is colinear to ẽ (4). Lemma 8: Regular 4-vertex is the only possible configuration of the edges adjacent to some inner even vertex when all coefficients coeff (j) (j = 1,..., val(v )) are equal to zero and the Circular Constraint is satisfied automatically. Proof of the Lemma The strict convexity of the mesh elements implies that any inner even vertex Ṽ has degree val(v ) = 4 at least. Let coeff (j) = 0 for every j = 1,..., val(v ). In particular, coeff (2) = 0 and so ẽ (1) and ẽ (3) are colinear and lie on some straight line l (1,3) ; coeff (3) = 0 and so ẽ (2) and ẽ (4) are colinear and lie on some straight line l (2,4) (see Figure 18). Therefore for val(v ) = 4 the vertex is proven to be regular. It remains to show that val(v ) could not be greater than 4. Indeed, let val(v ) > 4. Then, ẽ (2) should be colinear to both ẽ (4) and ẽ (val(v )) (because both coeff (3) and coeff (1) are equal to zero). But ẽ (4) and ẽ (val(v )) can not be colinear because ẽ (val(v )) lies strictly between ẽ (4) and ẽ (deg(1)) which span an angle less than π due to the strict convexity of the mesh elements. Lemma 8. Some necessary and sufficient conditions for the satisfaction of the Circular Constraint at a separate inner even vertex Results of the current paragraph correspond to the sufficient vertex enclosure conditions formulated in Theorem 2. Although the results do not contribute directly to the construction of the MDS, they provide an additional confirmation that the present approach fits the general theory of G 1 -smooth piecewise parametric surfaces. Lemma 8 from the previous paragraph shows that for an inner vertex of degree 4 colinearity of two pairs of emanating edges is a sufficient condition for the satisfaction of the Circular Constraint. Necessary and sufficient conditions are presented in the following Lemma.

51 11 Local MDS 43 Lemma 9: Let Ṽ be an inner even vertex (1) If δ (j), j = 1,..., val(v ) (Z-components of the second-order derivatives in the directions of the planar edges) are chosen in such a manner that they are compatible at Ṽ with second-order partial derivatives of some functional surface, then the Circular Constraint is satisfied. (2) For a non-regular 4-vertex Ṽ, compatibility of δ(j), j = 1,..., 4 with second-order partial derivatives of some functional surface is not only a sufficient but also a necessary condition for the satisfaction of the Circular Constraint. Proof See Appendix, Section D. Note 4: Lemma 9 does not mean that the resulting surface is necessarily C 2 - smooth at the vertex. Besides values of δ (j) (j = 1,..., val(v )) there is always at least one additional degree of freedom (T -type control point) which implies that the second-order partial derivatives in the functional sense are not necessarily well defined at the vertex Local templates for a separate inner vertex Odd vertex A local template for an inner odd vertex is shown in Figure 19(a). All D-type control points are classified as basic and all T -type control points are dependent. There are val(v ) basic control points in all. The correctness of the classification and dependencies of T -type control points are explained below. As stated in Theorem 4, matrix M is invertible for an odd inner vertex. Therefore all D-type control points can be classified as basic and T -type control points depend on them (and on V -type and E-type basic control points) according to equation tw tw (1). (val(v )) = M 1 coeff (1) δ (1). coeff (val(v )) (val(v )) δ (42) In greater detail, D-type control points together with V -type and E-type basic control points fully define values of δ (j) (j = 1,..., val(v )). Equation 42 defines dependency of tw (j) (j = 1,..., val(v )) on δ (j) (j = 1,..., val(v )), and finally the values of T -type control points are given by T (j) = ( 1 n ẽ (j), ẽ (j+1) tw (j) V n ) ( E (1 (j) + 1 t (j),ẽ (j+1) n + E (j+1) 1 1 n <ẽ (j),ẽ (j+1) ) + t (j),ẽ (j+1) ẽ (j) <ẽ (j),ẽ (j+1) t (j),ẽ (j) <ẽ (j),ẽ (j+1) ) (43) The classification may be formally subdivided into two steps: at the first step all D-type control points are classified as basic, at the second step all T -type control points are classified as dependent and their dependencies are established.

52 11 Local MDS 44 Even vertex excluding the regular 4-vertices The local template for an inner odd vertex, excluding regular 4-vertices, is shown in Figure 19(b). val(v ) 1 among D-type control points and one T -type control point are classified as basic; val(v ) basic control points in all. D-type control of some edge may be chosen to be dependent only if two neighboring edges of the edge are not colinear. The correctness of the classification and dependencies of the dependent control points are explained below. According to Theorem 4, the Circular Constraint should be imposed on D-type control points adjacent to an inner even vertex, excluding regular 4- vertices. Classification of D-type and T -type control points can be made as follows. At the first step D-type control points are classified. One D-type control point with a non-zero coefficient, say D (k), is chosen. The remaining D-type control points are classified as basic and D (k) depends on them (and V, E-type basic control points) according to the Circular Constraint D (k) = 2E (k) 1 val(v ) V + n(n 1)coeff (k) j = 1 ( 1) j+k+1 coeff (j) δ (j) (44) j k At the second step T -type control points are classified. Rank-deficiency of matrix M means that one of T -type control points, for example T (val(v )), can be classified as a basic control point. The remaining T -type control points depend on this control point and D-type control points (which are classified during the previous step) according to the following equation tw tw (1) tw (2). (val(v ) 1) = ( M 1,..., val(v ) 1 1,..., val(v ) 1 ) 1 coeff (1) δ (1) (val(v )) tw coeff (2) δ (2). coeff (val(v ) 1) (val(v ) 1) δ (45) 1,..., val(v ) 1 1,..., val(v ) 1 where M is a (val(v ) 1) (val(v ) 1) square matrix which contains val(v ) 1 first rows and lines of the matrix M. Regular 4-vertex Local template for a regular 4-vertex is shown in Figure 19(c). All D-type control points and one T -type control point are classified as basic, the remaining T -type control points are dependent; there are val(v ) + 1 basic control points in all. In case of a regular 4-vertex the Circular Constraint should not be explicitly imposed. At the first step all D-type control points are classified as basic. At the second step one of the T -type control points is classified as basic and others as dependent ones. T -type control points do not depend on D-type control points; dependency between T -type control points is defined by the relation tw (1) = tw (2) = tw (3) = tw (4) (46) Local templates for a separate boundary vertex In case of a boundary non-corner vertex there is exactly one adjacent inner edge ẽ (2) and so it is sufficient to consider a single constraint in the form of Equation 37. The following two local templates are defined:

53 11 Local MDS 45 T B0 (D,T ) (Figure 20(a)). The local MDS contains a D-type control point D (2) and one T -type control points ( T (1) ). This template can always be used, excluding the case when the boundary edges are not co-linear and the clamped boundary condition is imposed. T B1 (D,T ) (Figure 20(b)). The local MDS contains two T -type control points T (1) and T (2). This template is used only in the case when the boundary edges are not co-linear and the clamped boundary condition is imposed. Below the different additional conditions are considered and T B0 (D,T ) is shown to fit almost all situations. Any kind of Interpolation/Simply-supported boundary condition. These boundary conditions do not involve neither D-type nor T -type control points adjacent to the boundary vertex. While D-type control point do not contribute to Equation 37 in case of colinear boundary edges, the coefficient of T (1) is equal to n ẽ (2), ẽ (3) and never vanishes. Therefore it is very natural to choose a T -type control point as a dependent variable (template T B0 (D,T ) ), its dependency is defined by Equation 37. Both basic control points are classified as free control points. Clamped boundary condition. The clamped boundary condition involves both T -type control points and do not involves D-type control point. Therefore a MDS which fits the clamped boundary condition can not define T -type control point as dependent on D-type control point (see 11). If the boundary edges are colinear, D-type control point do not participate in Equation 37. Equation 37 defines dependency between T (1) and T (2) tw (1) + tw (2) = 0 (47) In case of the standard clamped boundary condition (Equation 23) tw (1) = tw (2) = 0 and the dependency is automatically satisfied. Any other clamped boundary condition should be checked to be compatible with the G 1 -smoothness requirement. Template T B0 (D,T ) can be used: the basic D-type control point is classified as free and the basic T -type control point is classified as fixed. If the boundary edges are not colinear, one should use template T B1 (D,T ) (template T B0 (D,T ) does not longer fit the additional condition). Both T -type basic control points are fixed. Dependency of D (2) -type is defined according to Equation 37 D (2) = 2E (2) V + 1 n(n 1)coeff (2) (tw (1) + tw (2) ) (48) 11.3 Local classification of the middle control points for a separate edge Definition 16: Let the global bilinear in-plane parametrisation be considered. For an inner edge, the set of n 2 indexed equations Eq(s) for s = 2,..., s = n 1 is said to compose the Middle system of equations. Control points L 2,..., L n 2, R 2,..., R n 2 and C 3,..., C n 3 are respectively called the side middle and the central middle control points.

54 11 Local MDS Existence and types of the local templates Let all V, E, T and D-type control points be already classified and all Eq(0) - type and Eq(1) -type equations be satisfied. The only non-classified control points which participate in G 1 -continuity equations for an inner edge are the middle control points and the Middle system is not yet satisfied. We shall show that the middle control points are sufficient in order to satisfy the Middle system of equations for an inner edge. It provides the possibility to define the local MDS separately for every inner edge. The following geometric condition plays a principal role in the analysis of the Middle system of equations. Definition 17: For two adjacent patches with vertices λ, λ, γ, γ, ρ, ρ (see Figure 21), let ( λ γ) (proj), ( λ γ ) (proj), ( ρ γ) (proj), ( ρ γ ) (proj) denote the lengths of projections of the corresponding planar vectors onto direction perpendicular to γ γ. (In other words, distances from vertices λ, λ, ρ, ρ to the line ( γ, γ )) It will be said that the Projections Relation holds if ( ρ γ) (proj) = ( ρ γ ) (proj) ( λ γ) (proj) ( λ γ ) (proj) (49) For the bilinear global in-plane parametrisation Π (bilinear), the Projections Relation means that the coefficients of the conventional weight functions l(v), r(v) satisfy the following equation: l 0 r 1 r 0 l 1 = 0 (50) The structure of the local MDS depends on the geometrical configuration of two adjacent mesh elements. The following two local templates for classification of the middle control points are defined. T M 0 (Figure 22(a)). The local MDS contains all central middle control points (if any) and n 4 side middle control points. The template is applied if the Projections Relation does not hold. T M 1 (Figure 22(b)). The local MDS contains all central middle control points (if any) and n 3 side middle control points, one in every pair ( L j, R j ), j = 2,..., n 2. The template is applied if the Projections Relation holds. Theorem 5 justifies the choice of the local MDS and proves the correctness of the classification of the control points. Theorem 5: Let L and R be the restrictions of the global in-plane parametrisation Π (bilinear) ) on two adjacent mesh elements. Let Eq(0) -type and Eq(1) - type equations be satisfied for the common edge and all E,V,D,T -type control points be classified. Then for any n 4 (1) Consistency. The Middle system of equations has a solution in terms of the middle control points.

55 11 Local MDS 47 (2) Classification of the middle control points. The following classification of the middle control points guarantees that the Middle system of equations for an inner edge is satisfied. All central middle control points (if there are any) are classified as the basic (free) ones. If the Projections Relation does not hold then there are n 4 basic (free) and n 2 dependent control points among 2(n 3) side middle control points. If the Projections Relation holds then there are n 3 basic (free) and n 3 dependent control points among 2(n 3) side middle control points; in every pair ( L j, R j ) (j = 2,..., n 2) one control point is basic and another one is dependent. Dependencies of the dependent middle control points are described in the theorem s proof. Proof See Appendix, Section D Example of the local MDS for n = 4 and n = 5 For n = 4 the Middle system consists of two indexed equations Eq(2) and Eq(3) and there are two middle control points L 2 and L 3. Theorem 5 implies that if the Projections Relation is not satisfied, then the local MDS is empty. Both middle control points are dependent and their dependencies on the basic E,V,D,T -type control points are defined by the Middle system which has a 2 2 matrix of full rank. If the Projections Relation holds then equations Eq(2) and Eq(3) are no longer independent and an additional degree of freedom is available; one of the control points L 2, R 2 becomes basic (free). For n = 5, if the Projections Relation does not hold then one of the control points L 2, L 3, R 2, R 3 is basic (free) and the others are dependent. If the Projections Relation is satisfied then there are two basic (free) control points, one in every pair ( L 2, R 2 ) and ( L 3, R 3 ).

56 11 Local MDS 48 (a) (b) (c) Fig. 17: Local templates for the classification of V,E-type control points in case of global bilinear in-plane parametrisation Π (bilinear). Fig. 18: Possible mesh configuration, which automatically satisfies the Circular Constraint. (a) (b) (c) Fig. 19: Local templates for the classification of D,T -type control points adjacent to an inner vertex in case of global bilinear in-plane parametrisation Π (bilinear).

57 11 Local MDS 49 (a) (b) Fig. 20: Local templates for the classification of D,T -type control points adjacent to a boundary vertex in case of global bilinear in-plane parametrisation Π (bilinear). Fig. 21: An illustration for the Projections Relation. (a) (b) Fig. 22: Local templates for the classification of the middle control points in case of global bilinear in-plane parametrisation Π (bilinear).

58 12 Global MDS Global MDS The main purpose of the current Section is to define the global MDS based on the local analysis given in Section 11. One should try to put together local templates without contradictions. More precisely, the order of construction of the local MDS should be defined. It is important to remember, that even if local templates do not intersect geometrically, the construction of local MDS is usually based on the assumption that some control points are already classified and it is possible to define dependencies on these control points. Therefore, the order of construction of the local MDS plays the principal role in the construction of the global MDS. Although a pure global MDS (MDS based on G 1 -conditions only) always exists, application of an additional constraint requires construction of some definite suitable local templates, which do not always fit together. If the global classification succeeds then it will be said that an instance of global MDS, which fits the additional constraints, is constructed. Otherwise, according to the current approach, MDS of a higher degree should be considered; an attempt to rebuild the local templates defined in Section 11 is never done MDS of degree n 5 For n 5 the local templates for different vertices and/or edges never involve the same control points (see Figure 23). For any additional constraint (any choice of the local templates), construction of the global MDS can be made according to the following Algorithm. Algorithm 1: Algorithm for construction of global MDS in case of a global bilinear in-plane parametrisation Π (bilinear) Stage 1 For every non-corner mesh vertex, construct a local MDS for the classification of V,E-type control points (see Subsection 11.1). The choice of the local template for every vertex is made according to the local mesh structure and should fit the given additional constraint. At the end of the stage all V,E-type control points are classified and all Eq(0)-type equations are satisfied. Stage 2 For every non-corner mesh vertex, construct a local MDS for classification of D,T -type control points (see Subsection 11.2). The choice of the local template for every vertex should fit the given additional constraint. At the end of the stage all V,E,D,T -type control points are classified and all Eq(0) and Eq(1) -type equations are satisfied. Stage 3 For every inner edge, construct a local MDS for the classification of the middle control points (see Subsection 11.3). The choice of the local template for every edge depends on the local geometrical structure of the mesh. At the end of the stage all control points are classified and all G 1 -continuity equations are satisfied.

59 12 Global MDS 51 Lemma 10: For any n 5 and for any type of additional constraints, there exists an instance B (n) ( Π (bilinear) ) of the global MDS, that fits the additional constraints. Dimensionality of the global MDS is studied in Subsection MDS of degree n = Principal role of classification of D-type control points For n = 4, construction of the global MDS becomes more complicated since the local templates defined in Section 11 may intersect. The intersection occurs between local templates for classification of D,T -type control points adjacent to end-vertices of the same inner edge (see Figure 24). The intersection contains the single control point - D-type control point of the edge; the problem arises if both templates define the control point as dependent. In general, Algorithm 1 remains valid for n = 4. Moreover, the only stage which should be made more accurate is Stage 2. At this stage for n 5, the local templates for vertices may be defined in any order and for every local template the choice of dependent D-type control point (if needed) may be made arbitrarily in case of ambiguity. For n = 4 the order in which the vertices are traversed and the choice of the dependent D-type control points (if needed) play the principal role. According to the current approach, the global classification of D,T -type is said to exist if it is possible to put together the local templates without contradiction. In order to do it, one should specify the traversal order of the vertices and the choice of dependent D-type control point (if any) for every template. The classification involves a global analysis and may fail for some kinds of the additional constraints. If the classification succeeds, the global MDS exists and the rest of the control points are classified precisely as in the case of n 5. It is important to note, that for all local templates, excluding T B1 (D,T ) (see Subsection ), D-type control points can be classified prior to classification of T -type control points. Furthermore, as soon as a global classification of D- type control points is made, classification of T -type control points can be made locally, separately for every vertex and can not lead to any conflicts between different vertices. It implies that global classification of D-type control points is the most difficult and the important step in the construction of the global MDS. The following notations will be used. Definition 18: A vertex Ṽ is called D-relevant if the local template for classification of D,T -type control points contains a dependent D-type control point. It will be said, that the D-relevant vertex Ṽ uses an adjacent D-type control point D (j) if D (j) enters Equation 37 with a non-zero coefficient.

60 12 Global MDS 52 A D-type control point is said to be assigned to an adjacent D-relevant vertex if it is classified as dependent according to the local template at the vertex. The vertex is called owner of the assigned D-type control point. There are two types of D-relevant vertices - Inner even vertices, excluding regular 4-vertices. - Boundary vertices which use template T B1 (D,V ), or in other words, boundary vertices with non-colinear adjacent boundary edges in the case of a clamped boundary condition Examples of possible difficulties The following small examples show what kind of difficulties one may encounter during construction of global MDS of degree 4 which fits a given additional constraint. In the case of a clamped boundary condition, the three meshes presented in Figure 25 have no sufficient D-type control points in order to assign an owned D-type control point to every D-relevant mesh vertex (arrows in the Figure show the owner vertices for D-type control points). Figure 25(a) - the inner 4-vertex has not its own D-type control point. Figure 25(b) - none of the inner 4-vertices has its own D-type control point because D-points of the dashed edges do not contribute to the Circular Constraint for the inner vertices. Figure 25(c) - there are no sufficient D-type control points for either one of two inner 4-vertices. An additional example of Figure 26 shows the situation when an inner 3- vertex Ṽ (which does not use the adjacent D-type control points itself) also does not help to get free D-type control points for the neighboring 4-vertices. This is because the D-type control points of the dashed edges do not contribute to the Circular Constraint for vertices Ṽ (1), Ṽ (2) and Ṽ (3) Sufficient conditions and algorithms for the global classification of D,T -type control points Classification of D,T -type control points will explicitly be made for any kind of additional constraints, excluding the clamped boundary condition. For most of the mesh configurations, the general algorithms work as well in the case of a clamped boundary condition. Different techniques, which may help in case of failure of the general algorithm, are provided. The classification process heavily uses different graph-like structures and graph-theory algorithms (see [11]). The next Definition introduces some special graph-related notations, which will be used in the current discussion. Definition 19: Mesh vertex or primary vertex - vertex of the initial mesh. Secondary vertex - auxiliary (symbolic) vertex in the middle of the edge.

61 12 Global MDS 53 Mesh edge or full edge - edge of the initial mesh. Half-edge - edge connecting a primary vertex and an adjacent secondary vertex. First, an undirected D-dependency graph will be constructed. Then the spanning tree algorithm will be applied to every connected component of the dependency graph and a directed D-dependency forest will be built. In most cases, the dependency forest allows to define the traversal order for the vertices and to assign D-type control point to every D-relevant vertex. Construction of an undirected D-dependency graph An undirected D-dependency graph is constructed according to the following Algorithm. Algorithm 2: Algorithm for construction of the D-dependency graph (1) Add secondary vertex S (ij) in the middle of every mesh edge (Ṽ (i), Ṽ (j) ) (see Figure 27(a)). (2) Delete half-edge (Ṽ (i), S (ij) ) if vertex Ṽ (i) does not use the D-type control point of the mesh edge (Ṽ (i), Ṽ (j) ) (see Definition 18 and Figure 27(b)). (3) Delete a secondary vertex if after elimination of half-edges (step (2) of the Algorithm) no half-edge connected to it remained. (4) Delete a primary vertex if it does not use any D-type control point (if it is not D-relevant). Now the D-dependency graph consists of D-relevant primary vertices and such secondary vertices that the correspondent D-type control point is used by some primary vertex. A primary and a secondary vertex are connected by a half-edge if and only if the primary vertex uses the D-type control point corresponding to the secondary vertex. It will be said that two primary vertices Ṽ (i) and Ṽ (j) are connected by the full edge if both of them use D-type control point of the mesh edge (Ṽ (i), Ṽ (j) ) (both half-edges (Ṽ (i), S (ij) ) and ( S (ij), Ṽ (j) ) belong to the D-dependency graph). If S ij is connected to only one of the primary vertices, say Ṽ (i), then the half-edge (Ṽ (i), S (ij) ) will be called a dangling half-edge. From the topological point of view the graph consists of a few (possible zero or one) connected components. Each connected component may contain pairs of the primary vertices connected by the full edges and the secondary vertices connected to the primary ones by the dangling half-edges. Construction of directed a D-dependency forest when any connected component of D-dependency graph has a dangling half-edge Algorithm 3:

62 12 Global MDS 54 Algorithm for the construction of the D-dependency forest when every connected component of the D-dependency graph has at least one dangling half-edge For every connected component of D-dependency graph, define a D-dependency tree in the following way. (1) Choose a primary vertex which has a dangling half-edge (at least one such vertex exists for every connected component), denote this vertex by R. (2) Build a spanning tree of the primary vertices of the connected component using the full edges only (this is possible because the component obviously remains connected with respect to the primary vertices after elimination of all dangling half-edges (see Figure 28(b)). (3) Define vertex R to be the root of the spanning tree. (4) Direct every mesh edge of the tree from the upper vertex to a lower one (according to the hierarchy of the spanning tree, see Figure 28(c)). (5) Direct the mesh edge corresponding to a dangling half-edge at R towards R. From this moment this mesh edge is defined as belonging to the D- dependency tree of R (the correctness of this definition is shown in Lemma 11). Note 5: The D-dependency forest consists of the primary D-relevant vertices and directed mesh edges; at this step one may forget about auxiliary secondary vertices and half-edges. Note 6: Assigning directions to the mesh edges which correspond to the dangling half-edges of the root vertices may lead to the situation when D-dependency trees of different components of the D-dependency graph become connected by these directed edges (see Figure 29). Such trees still will be referred to as the different trees of the D-dependency forest. The mesh vertex and its adjacent directed mesh edge may belong to different D-dependency trees; a directed mesh edge always belongs to the D-dependency tree of the vertex it points to. Lemma 11: The directions assigned to mesh edges as a result of the construction of D-dependency forest, obey the following rules (1) Every mesh edge is either undirected or its direction is correctly defined. In particular, it implies that every mesh edge belongs to at most one D-dependency tree. (2) Every D-relevant mesh vertex uses D-type control points of either undirected mesh edges or of the directed mesh edges that belong to the same D-dependency tree as the vertex itself. (3) Every D-relevant mesh vertex Ṽ uses exactly one D-type control point which belongs to the directed edge pointing towards Ṽ. This D-type control point is denoted D(Ṽ ) (see Figure 28(c)). Proof See Appendix, Section D.

63 12 Global MDS 55 Explicit classification of D,T -type control points when any connected component of D-dependency graph has a dangling half-edge As soon as the D- dependency forest is constructed, the global classification of D,T -type control points can be made according to Algorithm 4. The correctness of classification is justified by Lemma 11. In particular, Lemma 11 implies that classification of D-type control points for the different trees of the D-dependency forest can be made independently, without any conflicts. Algorithm 4: Step 1 Algorithm for the classification of D,T -type control points based on D-dependency forest (1) For every D-relevant boundary vertex, classify T -type control points as basic according to template T B1 (D,V ). (2) Classify as basic D-type control points of all mesh edges which remained undirected after construction of the D-dependency forest. (3) For every tree in the D-dependency forest do the following Assign the D-type control point of every directed mesh edge to the mesh vertex this edge points to. Traverse the D-dependency tree down-up, level by level. At every level for every D-relevant vertex Ṽ (the order of vertices belonging to the same level is not important) choose the assigned D- type control point D(Ṽ ) as dependent in the local template of the vertex. Define the dependency of the corresponding Z-component D(Ṽ ) according to the local template (Equation 44 for an inner vertex and Equation 48 for a boundary vertex). D(Ṽ ) may depend on Step 2 - V -type and E-type control points which are classified as basic during the first stage of the classification process. - D-type control points which are classified as basic during traversing the lower levels of the tree. - T -type basic fixed control points adjacent to D-relevant boundary vertices. For every non-corner vertex (excluding D-relevant boundary vertices), classify T -type control points locally according to the local template (see Subsections and ). For example, in the mesh fragment shown in Figure 30, Ṽ is a leaf-vertex of some D-dependency tree, Ṽ (4) (1) is the father of Ṽ in the D-dependency tree and Ṽ is the root vertex of some other D-dependency tree. Then D (2), D (3), D (5) (6), D are basic D-type control points. D(1) is a dependent control point, however it does not contribute to the Circular Constraint for Ṽ since edges numbered 2

64 12 Global MDS 56 and 6 are colinear.this Circular Constraint defines the dependency of D (4) = D(Ṽ ), D(2),D (3),D (5) (and E and V -type basic control points) according to the equation 6 j=2 ẽ (j 1),ẽ (j+1) ẽ (j 1),ẽ (j) ẽ (j),ẽ (j+1) (D(j) 2E (j) + V ) = 0 (51) Absence of D-relevant boundary vertices as a sufficient condition for global classification of D,T -type control points Theorem 6 presents a sufficient condition for the existence of global classification of D,T -type control points. It is important to pay attention to the fact that the presence of inner D- relevant vertices depends on the mesh structure, while the presence of boundary D-relevant vertices depends both on mesh structure and on the type of applied additional constraints. Theorem 6: Absence of D-relevant boundary vertices implies that the D-dependency graph is either empty or every connected component of D-dependency graph contains at least one dangling half-edge. Therefore the global classification of D,T -type control points exists and can be made by successive application of Algorithms 2, 3 and 4. Proof See Appendix, Section D. Case when there exist D-relevant boundary vertices In most of practical situations, even in the presence of D-relevant boundary vertices, every connected component of the D-dependency graph has at least one dangling half-edge due to the neighborhood of inner odd vertices or regular 4-vertices. In this case the classification of D,T -type control points exists and is made according to Algorithms 2, 3 and 4. If some connected component has no dangling half-edges, then Algorithm 3 fails to construct the D-dependency tree for this component. Algorithm 5 (see Appendix, Section B) presents a simple modification of Algorithms 3 and 4 which may help to classify D,T -type control points for those components of the D-dependency graph, which have no dangling halfedges. The construction is made separately for every such component and does not affect the construction of the classification solution for components with dangling half-edges. The principal reason of failure of Algorithm 3 for a connected component C which has no dangling half-edges is an impossibility to assign D-type control point to the root vertex of the spanning tree. Algorithm 5 tries to overcome this problem by splitting a full edge of a component so that the edge does not participate in the spanning tree of C. Algorithm 5 does not necessarily succeed. If the Algorithm fails (for one of the reasons which are explained below), any one of the following possibilities may be chosen. Pass to MDS of degree 5 which is well defined for any kind of additional constraints. Pass to the solution which combines patches of degree 5 along the boundary and patches of degree 4 in the inner part of the mesh (see Part VI).

65 12 Global MDS 57 Try to create a dangling half-edge by a local change of the initial mesh, for example by the regularisation of one of the inner 4-vertices, as shown in Figure 31. Algorithm 5: See Appendix, Section B The existence of MDS. Analysis of different additional constraints. The results of Subsection lead to the following conclusions. Lemma 12: (1) Global pure MDS B (4) ( Π (bilinear) ) (MDS which relates to G 1 continuity constraints alone) is well defined for any mesh configuration. (2) For any additional constraint which does not involve D-relevant boundary mesh vertices, an instance of B(4) ( Π (bilinear) ), which fits the additional constraint, exists for any mesh configuration. In particular, a suitable B (4) ( Π (bilinear) ) always exists for any kind of interpolation and for simply-supported boundary conditions. The MDS is constructed according to Algorithm 1, where Stage 2 is accomplished by successive application of Algorithms 2, 3 and 4. The dimensionality of B (4) ( Π (bilinear) ) is analysed in Subsection For any additional constraint which involve D-relevant boundary vertices (ex. clamped boundary condition for vertices with non-colinear adjacent boundary edges), the current approach may fail to construct an instance of B (4) ( Π (bilinear) ) which fits this additional constraint. Nevertheless even in the presence of D-relevant boundary vertices, the general classification algorithm or its modification (Algorithm 5) will work for most mesh configurations. A solution which combines patches of degrees 4 and 5 is presented in Part VI Dimensionality of MDS (bilinear) Theorem 7: For a global bilinear in-plane parametrisation Π and for any n 4, the dimension of B(n) G (subset of MDS which participates in the G 1 -continuity condition) and the dimension of B (n) (full dimension of MDS) are given by the following formulas (see Definition 10 and Lemma 3) (n) B G = 3 V ert non corner + V ert boundary non corner + (2n 7) Edge inner + V ert inner 4 regular + Edge inner, P rojections Relation holds B (n) (n) = B G + F = (n) B G + (n 3)2 F ace inner + (n 3)(n 1) F ace boundary + non corner (n 1) 2 F ace corner CP (n) (52) (53)

66 12 Global MDS 58 Proof See Appendix, Section D. The examples given in Figures 23, 32, 24 provide illustrations to the (5) formulas given in Equation 52. The Figures present instances of B G (Figure (4) 23) and B G (Figures 32 and 24) for the same mesh. The mesh contains one regular 4-vertex Ṽ (reg) and the Projections Relation holds for edge ẽ ( P R ). (n) Control points which belong to B G are marked by filled circles of different colors (orange, blue, green, violet and pink for V,E,D,T -type and middle control points respectively). Arrows in Figures 32 and 24 show which D-type control points are assigned to D-relevant vertices. Figure 23 shows a pure instance of B (5) G (no additional constraints are G contains 67 control points (among 117 control points of (5) CP G ), applied). B(5) which precisely fits Equation 52. Figures 32 and 24 respectively show a pure instance of B(4) G and an instance which fits the clamped boundary condition. Both instances have the same dimension and contain 47 control points. An additional example, which allows to verify the correctness of Equation 53, is given in Section 18. (reg) V ~ ("PR") e~ Fig. 23: An example of a pure global MDS B (5) ( Π (bilinear).

67 12 Global MDS 59 Fig. 24: An example of a global MDS B (4) ( Π (bilinear), which fits the clamped boundary conditions.

68 12 Global MDS 60 (a) (b) (c) Fig. 25: Examples of such meshes that not every D-relevant mesh vertex has its own D-type control point. Fig. 26: An example of mesh configuration when 3-vertex does not contribute to the Circular Constraint for adjacent 4-vertices. (a) (b) Fig. 27: An illustrations for the construction of the D-dependency graph.

69 12 Global MDS 61 (a) (b) (c) Fig. 28: Construction of D-dependency tree for a connected component of D-dependency graph. (a) Connected component of D-dependency graph (here the structure of the component is not correct in the meaning that it does not correspond to any planar mesh, the Figure serves only as an illustration for Algorithm 3). (b) Spanning tree of the connected component. (c) D-dependency tree of the connected component. (a) (b) (c) Fig. 29: An example of two different D-dependency trees connected by the directed edges at the root vertices. (a) Planar mesh vertices and edges. (b) D-dependency graph consisting of two connected components. (c) D-dependency trees for two components of D-dependency graph.

70 12 Global MDS 62 Fig. 30: An example of the classification of D-type control points. Fig. 31: Regularization of an inner 4-vertex. Here Ṽ (init) is a vertex of the initial mesh and Ṽ (reg) is the corresponding regularized vertex. In D-dependency graph, Ṽ (reg) helps to obtain dangling half-edges for connected components of the adjacent vertices. Fig. 32: An example of a pure global MDS B (4) ( Π (bilinear).

71 63 Part V. MDS for a quadrilateral mesh with a smooth global boundary To construct higher order approximations/interpolations, one needs also to handle smooth boundaries without reducing them to polygonal lines! This chapter deals with such constructions : planar meshes with a smooth global boundary (like the mesh shown in Figure 33). The bilinear in-plane parametrisation is no longer sufficient at the boundary. However, the global in-plane parametrisation is constructed in such a manner, that the local templates should be changed only for the boundary vertices and for inner edges adjacent to the boundary. Therefore, a study of the continuity constraints for the edges adjacent to the boundary plays the principal role in construction of an MDS. Like in the case of a polygonal global boundary, a pure B (n) is constructed for any n 4 and for any mesh configuration. Although it will be shown, that in the current case a boundary vertex is never D-relevant, a relatively high degree of the weight functions for the inner edges adjacent to the boundary may result in the failure of B (4) construction for some additional constraints. Fig. 33: An example of a planar domain with a smooth global boundary.

72 13 Definitions,Mesh limitations and In-Plane parametrisation Definitions,Mesh limitations and In-Plane parametrisation Let us recall some definitions from Definitions and In-plane parametrisation Points important for in-plane parametrisation of the boundary mesh elements in the case of a mesh with a smooth global boundary A single boundary element Ã, B, C, D - four vertices of a boundary mesh element, where D and C are the boundary vertices (see Figure 34(a)). Ẽ, F - two inner control points of the cubic boundary curve (see Figure 34(a)). Two adjacent boundary elements λ, λ, γ, γ, ρ, ρ - vertices of two adjacent boundary mesh elements (see Figure 35) T λ, T ρ - control points of the boundary curves adjacent to the vertex γ (see Figure 35). The notion of planar quadrilateral mesh is slightly generalised and it is assumed that The geometry of every inner edge is described by a straight segment. The edges along the global boundary of the planar domain have a cubic parametric Bézier representation and the concatenation between any pair of adjacent edges is (non-degenerated) G 1 -smooth. All basic assumptions listed in Section 8 remain valid in the current case. Moreover, for simplicity, the mesh is assumed to have no corner elements, or in other words, every boundary vertex is supposed to have exactly one adjacent inner edge In-plane parametrisation In-plane parametrisation for a boundary mesh element There is no reason to change the bilinear type of parametrisation for inner mesh elements. For a boundary mesh element, we introduce a bicubic parametrisation P (u, v) = 3 P i,j=0 ij Bij 3 in order to fit the boundary curve data. The following principles define the choice of parametrisation for a boundary mesh element.

73 13 Definitions,Mesh limitations and In-Plane parametrisation 65 In order to make the definition of a global in-plane parametrisation possible, it should be linear along the edge with two inner vertices and the parametrisations of two boundary elements should agree along edges with a common boundary vertex. The parametrisation should have a minimal possible influence on G 1 -continuity equations for edges with two inner vertices. It makes it possible to reuse the local templates constructed in the case of global bilinear in-plane parametrisation. Partial derivatives of the parametrisation along the edges with one boundary vertex should have the minimal possible degrees. It allows decreasing the number of linear equations which are sufficient in order to guarantee that the G 1 -continuity condition is satisfied. Let the upper edge of a boundary mesh element lie on the global boundary of the planar domain. The following choice of the control points for in-plane parametrisation of the element is adopted (see Figure 34(b)). P 00, P 30, P 03, P 33 and P 13, P 23 are given respectively by the vertices of the planar element and by the control points of the cubic boundary curve. P 10, P 20, P 01, P 11, P 21, P 31 are given by the degree elevation of the bilinear parametrisation up to degree 3. This allows the linearisation of the G 1 - continuity for the lower edge exactly as it was done in the case of a global bilinear in-plane parametrisation. P 02, P 32 are also given by the degree elevation of the bilinear parametrisation. It leads to the minimal possible degrees of the partial derivatives of in-plane parametrisation in directions along the left and the right edges. P 12, P 23 are chosen in such a manner, that the partial derivatives of in-plane parametrisation in the cross direction for the left and the right edges have the minimal possible formal degrees (degree 2). Here it is assumed that prior to the choice of P 12 and P 23 all other control points of in-plane parametrisation are already fixed according to the three first items. The explicit formulas for the control points of in-plane bicubic parametrisation of a boundary mesh element are given in Technical Lemma 2 (see Appendix, Section C) Regularity of the bicubic in-plane parametrisation Technical Lemma 3 (see Appendix, Section C) describes a sufficient geometrical condition for the regularity of the chosen in-plane parametrisation for the boundary mesh elements. A study of the regularity in the current work is restricted to this simple condition which is s quite natural, meaning that it is satisfied for the non-degenerated structures of the boundary elements. Of course, a more detailed analysis of the regularity conditions can be made Global in-plane parametrisation Π (bicubic) For every boundary element, let a bicubic in-plane parametrisation be constructed according to Technical Lemma 2 (see Appendix, Section C) and let it

74 13 Definitions,Mesh limitations and In-Plane parametrisation 66 be regular (the requirements of Technical Lemma 3 (see Appendix, Section C) are satisfied). Then according to Definition 2, Paragraph 1.3.2, the collection of bicubic parametrisations for boundary mesh elements and bilinear parametrisations for inner mesh elements defines a global regular in-plane parametrisation Π (bicubic) PAR (3). Clearly, degree 3 is just a formal degree of the parametrisation; all inner mesh elements are of degree 1 and parametrisations of the boundary mesh element have actual degree 3 only along the global boundary. (a) (b) Fig. 34: A planar mesh element, control points of a boundary curve and control points of in-plane parametrisation in the case of a mesh with a smooth global boundary.

75 14 Conventional weight functions Conventional weight functions 14.1 Weight functions for an edge with two inner vertices Bilinear parametrisation of the inner mesh elements and a special choice of the control points for in-plane parametrisation of the boundary mesh elements lead to the following Lemma. Lemma 13: Let a mesh edge have two inner vertices. Then the conventional weight functions defined according to the global in-plane parametrisations and Π (bilinear), coincide. Π (bicubic) 14.2 Weight functions for an edge with one boundary vertex Partial derivatives of in-plane parametrisations along the edge Let P be the restriction of a global in-plane parametrisation Π (bicubic) on a boundary mesh element. For the edges with one boundary vertex, the firstorder partial derivatives of P have degree 0 in the direction along the edges and formal degree 2 in the cross direction. The explicit formulas of the partial derivatives are given in Technical Lemma 4 (see Appendix, Section C). Let further L(u, v) and R(u, v) be the restrictions of the global in-plane parametrisation Π (bicubic) on the adjacent boundary elements. Although the formal degree of L(u, v) and R(u, v) is m = 3, none of the partial derivatives L u, Ru, Lv has the full actual degree. Therefore, the linear system of NumEqF ormal = n + 2m = n + 6 equations, described in Lemma 2,paragraph 5.1,contains redundant equations. An analysis of the conventional weight functions allows to decrease the number of sufficient linear equations and finally to compute precisely the rank of the corresponding linear system. The polynomial representations of the partial derivatives L u, Ru, L v in both Bézier and power basis play a very important role in the study of the weight functions. Lemma 14: Let L(u, v) and R(u, v) be the restrictions of global in-plane parametrisation Π (bicubic) on two adjacent boundary mesh elements. Then the first-order partial derivatives of the in-plane parametrisations along the common edge have the polynomial representations that follows in terms of the initial mesh data. Here λ, λ, γ, γ, ρ, ρ and T λ and T ρ denote respectively vertices of the elements and control points of the boundary curves (see Subsection and 2.4 and Figure 35 for the definitions). L v = γ γ is a constant (polynomial of degree 0). L u, R u are polynomials of formal degree 2. The coefficients of L u and R u

76 14 Conventional weight functions 68 with respect to Bézier and power basis are given below (cf section 2.4): λ 0 = γ λ λ 1 = 1 2 [( γ λ)+( γ λ )] λ 2 =3( γ T λ ) ρ 0 = ρ γ ρ 1 = 1 2 [( ρ γ)+( ρ γ )] ρ 2 =3( T ρ γ ) λ(power) 0 = λ 0 = γ λ λ(power) 1 =2( λ 1 λ 2 )=( γ γ) ( λ λ) λ(power) ρ (power) ρ (power) 2 = λ 0 2 λ 1 + λ 2 =3( γ T λ ) ( γ λ ) 0 = ρ 0 = ρ γ 1 =2( ρ 1 ρ 2 )=( ρ ρ) ( γ γ) ρ (power) 2 = ρ 0 2 ρ 1 + ρ 2 =3( T ρ γ ) ( ρ γ ) (54) Vectors λ i, ρ i (i = 0,..., 2) are shown in Figure 36(a). Figure 36(b) shows vectors L v, λ (power) 0, λ (power) 1 + L (power) v, λ 2, ρ (power) 0, ρ (power) 1 + L v, ρ (power) 2. These vectors define the actual degrees of the weight functions and minimal number of linear equations which are sufficient in order to satisfy the G 1 - continuity condition Weight functions Lemma 15 describes relations between coefficients of the weight functions and coefficients of the partial derivatives L u, R u, L v. Explicit formulas for coefficients of the weight functions in terms of the initial mesh data with respect to the Bézier and the power basis immediately follow from Lemmas 14 and 15. Although the explicit formulas are useful in the following analysis, they become relatively complicated in the case of bicubic parametrisation and are given in Technical Lemmas 5 and 6 (see Appendix, Section C). Lemma 15: Let L(u, v), R(u, v) be the restrictions of the global in-plane parametrisation Π (bicubic) on two adjacent boundary mesh elements. Then for the common edge of the elements, conventional weight functions c(v), l(v) and r(v) have formal degrees 4, 2 and 4 respectively. Relations between the coefficients of the weight functions with respect to the Bézier and power bases and coefficients of the partial derivatives L u, R u, L v are given below. l i = ρ i, γ γ r i = λ i, γ γ c k = 1 ( 4 k) i+j = k 0 i, j 2 ( 2 i ) ( 2 j ) λ i, ρ j l (power) i r (power) i = ρ (power) i, γ γ = λ (power) i c (power) k = i+j = k 0 i, j 2, γ γ λ (power) i, ρ (power) j (55) (56) Here i = 0,..., 2 in formulas for coefficient of l(v) and r(v) and k = 0,..., 4 in formulas for coefficients of c(v). Note 7: From Lemma 15 and according to the geometrical meaning of λ 0, λ 2, ρ 0, ρ 2 (see Lemma 14) it follows that l 0 = l (power) 0 0, l 2 0 r 0 = r (power) 0 0, r 2 0 (57) c 4 = 0 (58)

77 14 Conventional weight functions 69 A very important relation between the actual degrees of the weight functions is given in Lemma 16 (see Subsection 2.5 for definitions). Lemma 16: Let the conventional weight functions c(v), l(v), r(v) for the common edge of two adjacent boundary mesh elements be defined according to the global in-plane parametrisation Π (bicubic). Then the actual degrees of the weight functions are connected by the following relation: deg(c) max deg(l, r) + 2 (59) Proof See Appendix, Section D Geometrical meaning of the actual degrees of the weight functions The different geometrical configurations of two adjacent boundary elements result in the actual different degrees of the weight functions. Examples shown in Figure 37 provide some intuition regarding the geometrical meaning of the actual degrees of the weight functions. λ (power) 2 (a) Example of degrees (4, 2, 2) for the weight functions c, l, r. Vectors and ρ (power) 2 are not parallel to each other and both of them are not parallel to the vector γ γ. λ (power) 2 (b) Example of degrees (3, 2, 2) for the weight functions c, l, r. Vectors and ρ (power) 2 are parallel to each other but they are not parallel to the vector γ (power) γ. deg(c) 3 if and only if λ 2 and ρ (power) 2 are parallel. (c) Example of degrees (3, 1, 1) for the weight functions c, l, r. Three vectors λ (power) 2, ρ (power) 2 and γ γ are parallel. max deg(l, r) 1 if and only if (power) vectors λ 2 and ρ (power) 2 are parallel to γ γ. (d) Example of degrees (2, 1, 1) for the weight functions c, l, r. Vectors ρ (power) 2 and γ γ are parallel. Equality deg(c) 2. λ (power) 2, λ (power) 1 = ρ (power) 1 implies that (power) (e) Example of degrees (2, 0, 0) for the weight functions c, l, r. Vectors λ 2, ρ (power) (power) 2, λ 1, ρ (power) 1 and γ γ are parallel. l (power) 1 = r (power) 1 = 0 (power) if and only if vectors λ 2, ρ (power) (power) 2, λ 1, ρ (power) 1 are parallel to γ γ. The examples show that different geometrical configurations lead to a variety of the triples (deg(c), deg(l), deg(r)). The actual degree of the weight function c is not uniquely defined by the degrees of the weight functions l and r.

78 14 Conventional weight functions 70 Fig. 35: Two adjacent boundary mesh elements in the case of a mesh with a smooth global boundary. (a) (b) Fig. 36: Coefficients of L u, R u, L v with respect to Bézier and to power bases for two adjacent mesh elements in the case of global in-plane parametrisation Π (bicubic).

79 15 Linear form of G 1 -continuity conditions 71 (a) (4,2,2) (b) (3,2,2) (c) (3,1,1) (d) (2,1,1) (e) (2,0,0) Fig. 37: Different geometrical configurations of two adjacent boundary mesh elements lead to different actual degrees of the conventional weight functions. 15 Linear form of G 1 -continuity conditions 15.1 G 1 -continuity conditions for an edge with two inner vertices Lemma 13 clearly implies that the following Lemma holds. Lemma 17: For any edge with two inner vertices, the linear system of G 1 - (bicubic) continuity equations in the case of global in-plane parametrisation Π remains unchanged with respect to the case of bilinear global in-plane parametrisation Π (bilinear).

80 15 Linear form of G 1 -continuity conditions G 1 -continuity conditions for an edge with one boundary vertex Formal construction of the linear system of equations In the case of global in-plane parametrisation Π (bicubic), the conventional weight functions c(v), l(v), r(v) have formal degrees 4, 2, 2 for an edge with one boundary vertex (see Lemma 15). Therefore the linearized G 1 -continuity equation (Theorem 3, Equation 17) has the following form n L i Bi n i=0 2 l j Bj 2 + n R i Bi n j=0 i=0 2 j=0 r j Bj 2 + n 1 i=0 C i B n i 4 c j Bj 4 = 0 (60) j=0 Unlike the case of global bilinear in-plane parametrisation Π (bilinear), not all summands of the last equation have the same formal degrees: the degree of the two first summands is n + 2 while the degree of the last one is n + 3. Of course, this difficulty can be easily overcome by application of the standard degree elevation to the first two summands. On the other hand it is important to remember, that n + 2 and n + 3 are just the formal degrees and that the actual degrees of the summands may coincide. For example in the case when the actual degrees of the weight functions c, l, r are equal to (3, 2, 2) the degree elevation is unnecessary, its application will lead to a redundant equation in the resulting linear system. Generally, there are two different approaches to the analysis of Equation 60. In the first one, all possible triples of the actual degrees of the weight functions should be considered separately. This approach starts from geometry and leads to the different algebraic systems, which correspond to the different geometric configurations. The second approach is a much more formal algebraic one. It starts by degree elevation, and then analyses the unique system of equations with the aid of the algebraic tools. This analysis eventually leads to different sub-cases, which of course correspond to different geometrical configurations. Like in the case of global bilinear in-plane parametrisation, the second approach is adopted in the current work. However, while performing an algebraic analysis, one always should be aware of the alternative way which allows to verify the correctness of the results. For example in the case of degrees (3, 2, 2) for the weight functions, one may verify that the resulting system of the linear equations does not have the full row rank. Application of the degree elevation to the first two summands of Equation 60 and writing down the coefficients of the resulting Bézier polynomial of degree n + 3 lead to the following Lemma. Lemma 18: In the case of global in-plane parametrisation Π (bicubic), the system of the following n + 4 linear equations is sufficient in order to guarantee a G 1 - smooth concatenation between two boundary patches 0 i n 0 j 2 i+j = s 0 i n 1 0 j 4 i + j = s ( L i l j + R i r j ) C i c j ( n-1 i ( n i ) ( 4 ) ( 2 j ) j ) + 0 i n( L i l j + R i r j ) = 0 0 j 2 i+j = s 1 ( n i ) ( 2 j ) + (61)

81 15 Linear form of G 1 -continuity conditions 73 where s = 0,..., n An equivalent system of the linear equations A linear system of equations, which is equivalent to the system given in Lemma 18 and has a clearer and more intuitive structure, will be constructed in order to simplify the analysis of MDS. The following notations lead to a more compact form of the linear equations. Definition 20: Let sumlr s = 0 i n 0 j 2 i + j = s sumlr 1 = sumlr n+3 = 0, sumc s = 0 i n 1 0 j 4 i + j = s ( L i l j + R i r j ) C i c j ( n-1 i ) ( ) 4 j ( n i ) ( 2 j ) for s = 0,..., n + 2 for s = 0,..., n + 3 (62) and Eq(s) sumlr s = ( 1) s+1 s ( 1) k sumc k sumc equation ( 1) k sumc k = 0 n+3 k=0 k=0 (63) (An expression in the left side of the last equation will also be called sumcequation ). Lemma 19: The following linear system of n + 4 equations is sufficient in order to guarantee a G 1 -smooth concatenation between two boundary patches in the (bicubic) case of global in plane parametrisation Π { Eq(s) s = 0,..., n + 2 sumc equation (64) Proof See Appendix, Section D. Note, that sumc-equation might be formally written as Eq(n+3), which would lead to a homogeneous system of equations. It was decided to separate this equation because of its role in the construction of MDS and because of its special properties, some of which are listed in the next Subsection Some important properties of sumc-equation Unlike the indexed equations, sumc-equation deals only with the central control points C j (j = 0,..., n), none of the side control points (L j, R j ) (j = 0,..., n) contributes to it. An another important property of sumc-equation is given in Lemma 20.

82 16 Local MDS 74 Lemma 20: Let equation C-equation be defined as follows ( ) n 1 C equation n-1 i=0 ( 1)i C i i = ( ) n n i=0 ( 1)i C i i = 0 (65) (An expression in the left side of the equation will also be called C-equation ). Then sumc-equation can be represented as C equation c (power) 4 = 0 (66) Lemma 20 in particular means that sumc-equation is automatically satisfied when deg(c) 3. Moreover, it shows that if deg(c) = 4 then values of C j (j = 0,..., n) should necessarily satisfy the C-equation. In addition, Equation 65 implies that sumc-equation and C-equation have a global nature in the meaning that every one of C j control points (j = 0,..., n) participates in these equations with a non-zero coefficient. 16 Local MDS In the following discussion, it always will be assumed that edge with one boundary vertex is parametrized in such a manner, that C 0 is the inner vertex of the edge and C n is the boundary vertex. It implies, for example, that equations Eq(0), Eq(1) relate to the inner vertex and equations Eq(n+1), Eq(n+2) to the boundary vertex of the edge (see Figure 39(b)) Local templates for a separate vertex Local templates for an inner vertex Lemma 21: Consider global Π (bicubic) parametrisation. Then for any inner vertex (1) Eq(0) -type equation remains unchanged with respect to the case of global bilinear in-plane parametrisation Π (bilinear). (2) The couple of Eq(0) -type and Eq(1) -type equations is equivalent to the couple of the corresponding equations in the case of global bilinear in-plane parametrisation Π (bilinear). Proof See Appendix, Section D. Lemma 21 leads to the following Conclusions Conclusion 1: Consider a global in-plane parametrisation Π (bicubic). Then for any inner vertex, the local templates for classification of V,E,D,T -type control points remain unchanged with respect to the case of global bilinear in-plane parametrisation Π (bilinear). The templates are constructed precisely as described in Subsections and and are responsible for the satisfaction of Eq(0) -type and Eq(1) - type equations at the inner vertex.

83 16 Local MDS 75 Conclusion 2: All theoretical results related to the Vertex Enclosure problem (see Section ) remain valid in the case of global in-plane parametrisation Π (bicubic) Local templates for a boundary vertex Formal representation of equations Eq(n+2) and Eq(n+1) for an edge with one boundary vertex In the case of a global in-plane parametrisation Π (bicubic), equations Eq(n+2) and Eq(n+1) have the following representations for an edge with one boundary vertex. Eq(n+2) equation. L n l 2 + R n r 2 = 0 (67) Geometrically Eq(n+2) means that the control points L n, C n, R n are colinear. Equation Eq(n+2) never involves C n 1 (E-type control point of the edge adjacent to the boundary vertex). Eq(n+1) equation. n( L n 1 l 2 + R n 1 r 2 ) + 2( L n l 1 + R n r 1 ) + 4 C n 1 c 3 = 0 (68) This equation involves only control points lying on the mesh boundary (L n, C n, R n ) or adjacent to it (L n 1, C n 1, R n 1 ). The control point C n 2 (D-type control point of the edge adjacent to the boundary vertex) does not participate in this equation. Local templates and different types of additional constraints The choice of the local templates for a boundary vertex Ṽ in the case of global in-plane parametrisation Π (bicubic) is based on the following two principles. The template should include all control points adjacent to Ṽ and participating in specified additional constraints. The template is responsible for the satisfaction of some sub-system of the indexed equations (the sub-system contains either the last indexed equation or the last pair of the indexed equation). The template should contain a minimal possible number of the control points in order to provide additional degrees of freedom to the Middle system, which becomes relatively complicated in the case of Π (bicubic) for edges with one boundary vertex. The following two local templates are defined: T B0 (bicubic) (Figure 38(a)). The template includes control points lying at the global boundary (V -type control point and two boundary E-type control points). The template is responsible for the satisfaction of equation Eq(n+2) and additional constraints, provided the additional constraints involve only control points lying at the global boundary.

84 16 Local MDS 76 A local MDS contains Ṽ and one of E-type control points (Ẽ(1) ). Control point Ẽ(3) is dependent and dependency of E (3) is defined according to Equation 67. T B1 (bicubic) (Figure 38(b)). The template includes the control points lying at the global boundary and adjacent to it (V,E and T -type control points). The template is responsible for the satisfaction of equations Eq(n+2), Eq(n+1) and for any type of considered additional constraints. A local MDS contains Ṽ, one of E-type control points (Ẽ(1) ) and one of T -type control points ( T (1) ). Control points Ẽ(3) and T (2) are dependent. First, dependency of E (3) is defined according to Equation 67 and then dependency of T (2) is defined according to Equation 68. The template T B0 (bicubic) is used when the additional constraints involve only control points lying at the global boundary and degree 4 MDS is considered. In all other cases template T B0 (bicubic) is used Local classification of the middle control points for a separate edge Local templates for an edge with two inner vertices Lemma 17 implies that the following Lemma holds. Lemma 22: Consider a global in-plane parametrisation Π (bicubic) and let for any edge with two inner vertices the Middle system of equations and the middle set of the control points be defined according to Definition 16. Then for an edge with two boundary vertices, the local templates responsible for the classification of the middle control points are the same as for the global bilinear in-plane parametrisation Π (bilinear) (see Subsection ) Local templates for an edge with one boundary vertex Definition of the Middle system of equations and middle control points for an edge with one boundary vertex The following notations are introduced in order to unify the description of the local MDS for FUN (4) and FUN (n), n 5. Definition 21: Consider the functional space FUN (n) ( Π (bicubic) ), n 4. For an edge with one boundary vertex, let { n 5 if n = 4 = (69) n if n 5 The set of the middle control points contains 2(n 3) side middle control points L 2,..., L n 2, R2,..., R n 2 and n 4 central middle control points C 3,..., C n 2 (see Figure 39(a), 39(b)). The Middle system of equations consists of n equations: n 1 indexed equations Eq(s) for s = 2,..., n and sumc-equation (see Equation 63).

85 16 Local MDS 77 The Restricted Middle system of equations consists of n 1 indexed equations Eq(s) for s = 2,..., n. Theorems 8 and 9 show that the central middle control points are responsible for the consistency of the Middle system of equations and for the satisfaction of sumc-equation. Classification of the side middle control points is made after classification of the central control points and depends on the rank of the Restricted Middle system. The classification is based on the consistency and the rank analysis of the Middle system. The relatively complicated algebraic proofs of the main results deal with nice algebraic and geometric dependencies, which define the actual degrees of the weight functions and finally define the structure and the rank of the Middle system. A necessary and sufficient condition for the consistency of the Middle system. Classification of the central middle control points. Theorem 8: Given a global in-plane parametrisation Π (bicubic),for an edge with one boundary vertex, let all non-middle control points be classified and equations Eq(0), Eq(1), Eq(n +1) for n 4 and equation Eq(n +2) for n 5 be satisfied. Then for any n 4 the satisfaction of C-equation in a case when deg(c) max deg(l, r) = 2 (70) (1) Is a sufficient condition for the satisfaction of the sumc-equation. (2) Is a necessary and sufficient condition for the consistency of the Middle system of equations. Proof See Appendix, Section D. Lemma 23: Consider the global in-plane parametrisation Π (bicubic). For an edge with one boundary vertex, the central middle control points are classified prior to and independently of the classification of the side middle control points according to the following rules. C t for t = 3,..., n 3 (if any) are basic (free) control points. C n 2 is a dependent control point with the dependency defined by Cequation if deg(c) max deg(l, r) = 2 and basic (free) otherwise. Note, that C n 2 may depend only on the basic central middle control points According to Theorem 8, the classification guarantees that the sumc-equation is satisfied and that the Middle system of equations is consistent. Classification of the side middle control points Lemma 23 implies that after the classification of the central middle control points, sumc-equation is satisfied and it is sufficient to study the Restricted Middle system of equations. The system is known to be consistent as a sub-system of the consistent Middle system. The Restricted Middle system contains 2(n 3) non-classified side

86 16 Local MDS 78 middle control points ( L t, R t ) for t = 2,..., n 2. It remains to study the rank of the system and to classify the side middle control points accordingly. The next Definition generalises the Projections Relation (see Definition 17) that plays an important role in the rank analysis of the Middle system in case of global bilinear in-plane parametrisation Π (bilinear). Definition 22: For an edge with one boundary vertex, let l(v), r(v) be conventional weight functions corresponding to a global in-plane parametrisation Π (bicubic). Scalars g (ij) (i, j {0, 1, 2}) are defined by the next formula in terms of coefficients of the weight functions g (ij) = l i r j l j r i (71) The following three principal kinds of relations between g (01), g (02) and g (12) will be considered. These relations correspond to the different possible values of the rank of the Restricted Middle system of equations in terms of non-classified side middle control points. Theorem 9: Given the global in-plane parametrisation Π (bicubic), for an edge with one boundary vertex, let - All non-middle control points be classified and equations Eq(0), Eq(1), Eq(n +1) for n 4 and equation Eq(n +2) for n 5 be satisfied. - The central middle control points be classified according to Lemma 23. Then the rank of the Restricted Middle system in terms of the side middle control points and the classification of the side middle control points depend on the relations between the g (ij) CASE 1 If g (01) g (12) g (02) 0 and {g (02) } 2 = 4g (01) g (12) (72) then rank = n 2 and there are n 4 basic (free) and n 2 dependent control points among 2(n 3) side middle control points. CASE 2 If g (01) = g (12) = g (02) = 0 (73) then rank = n 3 and there are n 3 basic (free) and n 3 dependent side middle control points; in every pair ( L t, R t ) (t = 2,..., n 2) one control point is basic and one is dependent. CASE 0 If none of previous conditions on g (01), g (12), g (02) are satisfied, then rank = n 1 and there are n 5 basic (free) and n 1 dependent control points among 2(n 3) side middle control points. Like in the case of global bilinear in-plane parametrisation Π (bilinear), explicit dependencies between the control points are described in the proof of the theorem.

87 16 Local MDS 79 The different kinds of local templates A local template for an edge with one boundary vertex includes the middle control points and is responsible for the satisfaction of the Middle system of equations. Application of a local template assumes that all non-middle control points for the edge are classified and equations Eq(0), Eq(1), Eq(n +1) for n 4 and equation Eq(n +2) for n 5 are satisfied. The choice of a local template depends entirely on the geometrical structure of the boundary mesh elements adjacent to the edge; a unique template corresponds to every geometrical configuration. Classification of the middle control points is made as follows (see Figure 39(c)). Central middle control points. These control points are classified prior to and independently of the classification of side middle control points. According to Lemma 23, the local MDS contains all n 4 central middle control points if deg(c) max deg(l, r) 2 and contains n 5 control points otherwise. Side middle control points. Classification of these control points depends on the rank of the Restricted Middle system. The number of basic control points varies from n 5 (in CASE 0 ) to n 3 (in CASE 2 ) (see Theorem 9). Example of local MDS for n = 4 and n = 5 In both cases (n = 4 or n = 5) a local template contains the same control points: C3, L 2, R 2, L 3, R 3. Lemma 23 implies that the control point C 3 is dependent (and dependency of C 3 is defined by C-equation ) if deg(c) max deg(l, r) = 2 and belongs to local MDS otherwise. In CASE 0 all control points L 2, R 2, L 3, R 3 are dependent. In CASE 1 one of these four control points belongs to local MDS and others are dependent. In CASE 2 in every pair ( L 2, R 2 ) and ( L 3, R 3 ) one of the control points belongs to local MDS and the second one is dependent.

88 16 Local MDS 80 (a) (b) Fig. 38: Local templates for classification of V,E-type control points adjacent to a boundary vertex in the case of global in-plane parametrisation Π (bicubic). (a) (b) (c) Fig. 39: Local templates for an edge with one boundary vertex in the case of global in-plane parametrisation Π (bicubic).

89 17 Global MDS Global MDS 17.1 Algorithm for construction Algorithm 6 defines order of application of the local templates described in Section 16. The Algorithm allows to put together local templates without contradiction and to define global MDS. The Algorithm reuses Algorithms 1 and 4 for the inner part of the mesh; local modifications for edges with one boundary vertex are made at the last stage of the classification process. It was decided to present the common algorithm for construction of global MDS of degree n = 4 and n 5, because strategies for n = 4 and n 5 are based on the same principles and differ only in small details. Note 8: MDS of degree 4 can be constructed in situations, when additional constraints applied at a boundary vertex, involve only control points lying on the global boundary (local template T B0 (bicubic), see Subsection , can be used for every boundary vertex). MDS of degree n 5 can be constructed in any case. Algorithm 6: Algorithm for construction of global MDS (bicubic) in the case of global in-plane parametrisation Π Stage 1 Classify all E,V,D,T -type control points adjacent to inner vertices exactly as it was done in the case of global bilinear in-plane parametrisation Π (bilinear) (see Subsections , , and Section 12). At the end of this stage, all Eq(0) -type, Eq(1) -type equations for all inner vertices are satisfied. For an edge with one boundary vertex, control points ( L 0, C 0, R 0 ), ( L 1, C 1, R 1 ) and C 2 are classified and equations Eq(0) and Eq(1) are satisfied (see Figure 39(a), 39(b)). Stage 2 For every edge with two inner vertices, classify the middle control points exactly as it was done in the case of global bilinear in-plane parametrisation Π (bilinear) (see Subsection 11.3) At the end of this stage all control points, lying on or adjacent to some edge with two inner vertices, and D-type control points adjacent to the inner vertex of an edge with one boundary vertex, are classified. All G 1 -continuity equations excluding the Middle system of equations and indexed equations Eq(n +1) for n 4 and Eq(n +2) for n 5 are satisfied. Stage 3 For every edge with one inner vertex, perform the following two steps of classification. Step 1 At the boundary vertex apply local template (see Subsection )

90 17 Global MDS 82 - T B0 (bicubic) if a given additional constraints, applied at the vertex, involve only control points lying at the global boundary and MDS of degree 4 is considered. - T B1 (bicubic) if MDS of degree n 5 is considered. At the end of this step, for every edge with one boundary vertex, all control points excluding middle control points are classified and indexed equations Eq(0), Eq(1), Eq(n +1) for n 4 and equation Eq(n +2) for n 5 are satisfied. Step 2 Apply local template for classification of the middle control points. At the end of this step all control points are classified and all G 1 -continuity equations are satisfied. Proof of the correctness See Appendix, Section D Existence of global MDS of degree n 5 Algorithm 6 allows to conclude that the following Lemma holds. Lemma 24: For any n 5 and for any type of additional constraints, there exists such an instance B (n) ( Π (bicubic) ) of the global MDS, that the instance fits the additional constraints. Dimensionality of B (n) ( Π (bicubic) ) is given in Subsection Existence of global MDS of degree n = 4. Analysis of different additional constraints. Lemma 25: (1) Global pure MDS B (4) ( Π (bicubic) ) (MDS which relates to G 1 continuity constraints alone) is well defined for any mesh configuration. (2) Let an additional constraint, applied at any boundary vertex, involve only the control points lying at the global boundary. Then an instance of B (4) ( Π (bicubic) ), which fits the additional constraint, exists for any mesh configuration. In particular, a suitable B (4) ( Π (bicubic) ) always exists for a (vertex)[boundary curve]-interpolation problem under the assumption that the (tangent plane)- interpolation is not required and for a partial differential equation with a simply-supported boundary condition. Dimensionality of B (4) ( Π (bicubic) ) is presented in Subsection There are two important differences with respect to the case of global bilinear in-plane parametrisation Π (bilinear). The first evident difference is that an instance of global MDS of degree 4, which fits the (tangent plane)-interpolation condition, is no longer known to exist. The second difference is that one never tries to construct MDS of degree 4 in cases when its existence is not guaranteed. In a case of the (tangent plane)-interpolation and a case of the clamped

91 17 Global MDS 83 boundary condition either MDS of degree n 5 of mixed MDS of degrees 4 and 5 (see Part VI) should be constructed. Although in the case of global in-plane parametrisation Π (bicubic), no D- relevant boundary vertices are considered (and therefore the main reason for failure of MDS construction in the case of global bilinear parametrisation no longer exists), one encounters another problem. linearisation of the G 1 -continuity condition for an edge with one boundary vertex leads to a more complicated Middle system of equations. Now construction of global MDS of degree 4 may fail because of insufficient number of the control points which are necessary in order to satisfy the Middle system of equations for an edge with one boundary vertex. The existence of a suitable MDS of degree 4 in the current case depends even more strongly on the kind of additional constraints than in the case of global bilinear in-plane parametrisation Dimensionality of MDS Theorem 10: For global in-plane parametrisation Π (bicubic) and for any n 4 (n) dimension of B G (subset of MDS which participate in the G1 -continuity condition) and dimension of B (n) (full dimension of MDS) are given by the following formulas (see Definition 10 and Lemma 3) (n) B G = 3 V ert non corner + (2n 7) Edge inner + V ert inner 4 regular Edge + one boundary vertex, deg(c) max deg(l, r) = 2 Edge one boundary vertex, CASE1 + Edge two inner vertices, P rojections Relation holds + 2 Edge one boundary vertex, CASE2 B (n) (n) = B G + F = (n) B G + (n 3)2 F ace inner + (n 3)(n 1) F ace boundary + non corner (n 1) 2 F ace corner CP (n) (74) (75)

92 84 Part VI. Mixed MDS of degrees 4 and 5 Definition of mixed MDS For a global regular in-plane parametrisation Π PAR (m), m < 4, mixed functional space FUN (4,5) ( Π) is defined according to Definition 4 where item (2) is substituted with the following item (2 ) For a mesh element q Q, Z-coordinate of the restriction Q = Ψ q belongs to POL (4) if q is an inner mesh element and belongs to POL (5) if q is a boundary mesh element. Definition of MDS (see Definition??) also requires just a minor modification. Definition 23: CP (4,5) is composed of - Subset of CP (4) for inner mesh elements. - Degree 4 control points (4) (4) P i,j, i = 0,..., 4, j = 0, 1 and P 0,2, (4) P 0,2 and P (5) i,2 degree 5 control points 3, 4, 5 for boundary mesh elements (see Figure 40). (5), i = 1,..., 4 and P i,j, i = 0,..., 5, j = Definition 24: MDS B (4,5) (4,5) is such a minimal subset of CP that for any function Ψ FUN (4,5), equality to zero of Z-coordinates corresponding to all control points from the subset implies that Ψ 0. (4,5) Algorithm for the construction of mixed MDS B For both mesh with a polygonal global boundary (Part IV) and mesh with a smooth global boundary (Part V) a possible failure to construct MDS of degree 4, which fits a given additional constraints, is always related to the boundary mesh elements. Algorithm 7 (see Appendix, Section B) shows that in a case of failure it is sufficient to elevate the degree up to 5 for the boundary patches only, leaving the degree 4 for all inner patches. In other words, it is sufficient to pass over to consideration of mixed MDS B (4,5). Clearly, Algorithm 7 results in lower than B (5) dimension of MDS. However, Algorithm 7 requires the global classification of D-type control points, like Algorithms for construction of MDS of degree 4. Although a formal proof of the correctness of the Algorithm is not given, one can easily verify it by her/himself. Algorithm 7: See Appendix, Section B. The existence of a suitable instance of mixed MDS for any type of additional constraints Algorithm 7 allows to conclude that the following Lemma takes place. Lemma 26: Let a planar mesh have either a polygonal or a smooth global boundary and global in-plane parametrisation Π = Π (bilinear) or Π = Π (bicubic) be considered. Then for any type of additional constraints, there exists such an instance of mixed MDS B (4,5) ( Π), that the instance fits the additional constraints.

93 85 Part VII. Computational examples The current Part illustrates theoretical analysis given in the previous Parts by a few computational examples. The first example presents MDS for some irregular 4-element mesh. The rest of the examples study more complicated irregular meshes; these examples present approximate solutions of the Thin Plate problem under different boundary conditions. The main purpose of the examples is to verify the existence of MDS that fits the boundary constraints and to demonstrate quality of the resulting surface. Although some statistics connected to numerical precision of the solution are given, an error estimate of the approximate solution remains beyond the scope of the current research.

94 86 P ~ (4) P ~ 42 (4) 02 (4) P ~ (4) 01 P ~ 41 (4) P ~ 00 (4) P ~ 40 (4) L ~ 1 (4) L ~ 0 (4) C ~ 2 (4) C ~ 1 (4) C ~ 0 (4) R 1 (4) R 0 (a) (5) P ~ 05 (5) P ~ 04 (5) P ~ 03 (5) 12 P ~ (5) P ~ 42 (5) P ~ 55 (5) P ~ 54 (5) P ~ 53 (5) L ~ 1 (5) L ~ 0 (5) C ~ 2 ) C ~ 15 ( ) (5 1 (5) C ~ 0 R ~ (5) R ~ 0 (b) Fig. 40: An illustration for degree elevation for a boundary mesh element.

95 18 Examples of MDS Examples of MDS Figure 41 presents an example of pure MDS B (4) for an irregular 4-element mesh over a square domain. The basic control points are colored light blue and the dependent control points are colored red. The following control points belong to B (4). CP (4) F contains 9 corner control points for every mesh element. B (4) G contains the following control points - V -type control points. V -type control points for 5 non-corner vertices. - E-type control points. 2 E-type control points for every one of the 5 noncorner vertices. (For non-corner boundary vertices, the inner and one of the boundary E-type control points belong to MDS). - D-type control points. 3 D-type control points adjacent to the inner vertex, the only D-relevant vertex for the considered mesh configuration. - T -type control points. One T -type control point for every one of 5 noncorner vertices. - Middle control points. One side middle control point for the left inner edge, since the Projections Relation is satisfied for mesh elements adjacent to the edge. According to Theorem 7, (4) B G = = 24 B (4) (4) = B G + CP (4) F = = 60 (76) Correctness of the construction of the MDS and of the formula given in Theorem 7 was verified by the straightforward construction of such a linear system of constraints that All the control points of all the patches (100 control points altogether) are the unknowns. The system of constraints is formed by G 1 -continuity equations for all inner edges. The formal rank analysis of the system shows that its rank is equal to 40. It means that there are 60 free unknowns, which is precisely equal to the number of basic control points, obtained as a result of the construction of pure MDS. The example shown in Figure 41(b) provides another illustration to the correctness of MDS construction. More precisely, it verifies the correctness of the classification rule for the middle control points (see Subsection 11.3). In Figure 41(b) the boundary vertex of the left inner edge is moved downwards with respect to the example shown in Figure 41(a). Now the Projections Relation is no longer satisfied for the left edge and both middle control points adjacent to the edge are classified as dependent ones. It means that B (4) = 59, which again is precisely equal to the number of free unknowns resulting from the linear system of constraints for the current mesh configuration.

96 18 Examples of MDS 88 (a) (b) Fig. 41: Examples of B (4) for irregular 4-element mesh.

97 19 Examples of an approximate solution of the Thin Plate problem for irregular quadrilateral meshes Examples of an approximate solution of the Thin Plate problem for irregular quadrilateral meshes The example given on a circular domain can be compared to the recent survey [48] where several approches, including IGA with multi-patches are evaluated. One will note the complete different approach in the underlying mesh structure The Thin Plate problem Let the middle plane of a plate with uniform thickness lie in (XY )-plane. Then deflection of the plate under load f - the solution of the Thin Plate problem - can be found by constrained minimisation of the energy functional E = Ω [ D { ( 2 Z X Z Y 2 ) 2 2(1 ν) ( 2 Z 2 Z X 2 Y 2 ( 2 Z X Y ) 2 )} fz ] dxdy (77) where the constraints are defined by simply-supported of clamped boundary conditions. Here D = Eh 3 / [ 12(1 ν 2 ) ] (78) where h - thickness of the plate, ν - Poisson s ratio and E - modulus of elasticity. References [46], [16], [7], [5] provide a detailed analysis of the Thin Plate problem and discuss different physical assumptions and limitations for application of Equation 77. Next two Subsections contain examples of approximate solutions of the Thin Plate problem, which are based on the technique presented in the current work. In both examples, a highly irregular meshing of a simple planar domain is considered. It allows, on the one hand, to verify the correctness of the current approach for complicated meshes and, on the other hand, to compare the approximate solution with the exact one, which is known for simple domains. In [48], one will find an evaluation of many higher order methods on a similar problem, noting that none are on a completely unstructured mesh Approximate solution over a circular domain The precise deflection equation for a uniformly loaded circular thin plate with the clamped boundary condition has the following form (see [51], [46]) Z(X, Y ) = f(r 2 r 2 ) 2 /(64D) (79) where R-radius of the circle, C = (CX, CY ) - center of the circle, r 2 = (X CX) 2 + (Y CY ) 2 - square distance from a point to the center of the circle. An approximate solution of degree 5 is constructed for the irregular mesh presented in Figure 42(a). The mesh contains 20 quadrilateral elements; the global boundary of the domain is approximated by a piecewise-cubic parametric Bézier curve (control points of the boundary curves are shown in Figure 42(a)). According to the current approach, global in-plane parametrisation Π (bicubic) is considered. Control points of bicubic in-plane parametrisation for the boundary mesh elements are shown in Figure 42(b). In the example R = 1in, C = (1in, 1in) and let h = 0.04in, ν = 0.3, E = lb/in 2. From the formal point of view, f is just a coefficient

98 19 Examples of an approximate solution of the Thin Plate problem for irregular quadrilateral meshes 90 of proportionality in the deflection equation. An unreasonably large value of f = lb/in 2 is taken in order to visualize the resulting surface, while all other computations and statistics correspond to f = 20lb/in 2. The resulting smooth surface is shown in Figure 43. The total number of the basic free control points is equal to 208. Level lines for the resulting surface and for its first-order derivatives (see Figure 46, Appendix, Section A) confirm C 1 -smoothness of the surface. A comparison between the approximate and the exact solutions along segment X = 1in is shown in Figures 48 and 49(see Appendix, Section A). One can see, that the approximate solution fits the exact one with a high precision. Errors in the center of the circle for the solution itself and for the bending moments do not exceed one hundredth percent Approximate solution over a square domain Analysis of an approximate solution of degree 4 for a square domain with the simply-supported boundary condition is made according to the same scenario. The exact solution for the uniform load is (see [51], [46]) Z(X, Y ) = 16fa4 π 6 D m, n = 1 m, n odd sin mπx a sin nπy b mn(m 2 + n 2 ) 2 (80) where the square domain is axes-aligned, the origin of the coordinate system for the XY -plane coincides with the lower-left corner of the square and a is the length of the side. Let a = 2in, h = 0.04in, ν = 0.3, E = lb/in 2 ; f = lb/in 2 for visualization of the surface and f = 5lb/in 2 for comparison with the exact solution. An approximate solution is constructed for the irregular mesh shown in Figure 44. In the current case global bilinear in-plane parametrisation Π (bilinear) is considered and it is sufficient to consider the space FUN (4) ( Π (bilinear) ). The resulting smooth surface is shown in Figure 45. The total number of the basic free control points is equal to 111. Figure 47 (see Appendix, Section A) presents the level lines for the surface and for its first-order derivatives. Comparison between the approximate and the exact solution along the segment X = 1in is given in Figures 50 and 51 (see Appendix, Section A). It is important to note, that Figure 51 definitely shows that the approximate solution is not C 2 -smooth. Errors of the approximate solution for the irregular mesh were compared with the errors for the regular 4 4 square mesh. For the regular mesh, the total number of the basic free control points is equal to 144. (Note, that the number of the basic free control points obtained as the computational result is equal to the number of the basic control points predicted theoretically. Indeed, for the regular mesh, there are 196 basic control points according to Theorem 10 and 52 control points are fixed by the boundary condition). Both the irregular and the regular meshes contain 16 elements and the following table shows that errors along segment X = 1in have the same order for the meshes.

99 19 Examples of an approximate solution of the Thin Plate problem for irregular quadrilateral meshes 91 Characteristic Maximal absolute value Error in the center of the error (in inches) (in percents) Regular mesh Irregular mesh Regular mesh Irregular mesh Z % % Z X Z Y M X % 0.19% M Y % 0.10% M XY

100 19 Examples of an approximate solution of the Thin Plate problem for irregular quadrilateral meshes 92 (a) (b) Fig. 42: An irregular quadrilateral mesh for a circular domain. Fig. 43: The resulting smooth surface (case of the circular domain, irregular mesh).

101 19 Examples of an approximate solution of the Thin Plate problem for irregular quadrilateral meshes 93 Fig. 44: Irregular quadrilateral mesh for a square domain. Fig. 45: The resulting smooth surface (case of the square domain, irregular mesh).

102 94 Part VIII. Conclusions and further research. A complete solution for cubic C 1 boundaries has been constructed. Rigorous poofs show that for n 5 there is always a solution. One can also show that the case n = 4 has a solution provided we respect some conditions on the mesh. All the proofs are constructive and have been implemented for the examples we gave. We also have shown that one can mixes quartic and quintic patches. As a conclusion from a practical point of view, the present work provides a way to solve interpolation/approximation and partial differential problems for arbitrary structures of quadrilateral meshes. The solution has a linear form, which makes it relatively simple, fast and stable. Construction of the MDS allows operating only with essential degrees of freedom. Application of the approach to the solution of fourth order partial differential equations results in an approximate solution of a high quality. The following items are s a natural extension of the research, some trivial, others needing further studies: Boundary conditions Boundary conditions ( BCs) on Bézier or B-Splines require special care, since the corresponding basis are non interpolator, cf. Embar et. all [1], and we have dealt only with the simple homogenous case in our examples. The same remark apply to Robin type of BCs. Another topic,periodic BCs are not analysed here, but are essential in treating domains with holes. Extension to non Rationnal Bézier patches. This seems simple for the case of plane bilinear meshes, since the plane part is trivially bilinear again, but the case of curved boundaries must be analysed anew. Stability concerns. Although the geometrical characteristics of a mesh play a very important role in the construction of MDS, they usually define the general type of classification, while the choice of the basic control points in possible cases of ambiguity is made arbitrarily. For example, for B (4) ( Π (bilinear), geometrical Projections Relation defines the number of the basic middle control points (see Section ). However, the geometry of the elements has no influence on the choice of the basic control point when one of two middle control points is classified as basic and another one as dependent. Taking into account mesh geometry in cases when an ambiguity is possible and introduction of the tolerance analysis into equations themselves can significantly improve the stability of the solution. Error estimation.. The results of Part VII demonstrate a high quality of the solution. A rigorous mathematical analysis of the error in the case of an approximate solution of a partial differential equation can be made using the error estimates methods of IGA, [26] Combination of Bézier patches with different polynomial degrees. Part VI presents the construction of mixed MDS, which combines patches of degree 5 along the global boundary and patches of degree 4 in the inner

103 95 part of the mesh. The approach may be improved so that fewer patches of degree 5 may be used. It should be possible to consider patches of degree 5 locally, only in problematic areas of a mesh. Generalisation of MDS. Higher order smoothness seems difficult to build on unstructured quadrilateral meshes. But lower orders ( n 4) should be possible provide one uses macro elements A study of MDS for lower polynomial degrees of patches and/or higher orders of smoothness is a very important possible domain of the further research. A study of non-planar initial meshes. Consideration of non-planar initial meshes gives another direction of a possible research. For example, it may be interesting to start with construction of the weight functions and linearisation of an approximate solution for the Thin Plate problem when the middle surface lies on a cylinder or sphere (see works [34], [2]). Is it possible to eliminate some limitations on the structure of the planar mesh (see Sections 8 and 13) or refine sufficient conditions for the regularity of bicubic in-plane parametrisation (see Subsection )?

104 96 References [1] Isaac Harari A. Embar, J. Dolbow. Imposing dirichlet boundary conditions with nitsche s method and spline-based finite elements. International Journal for Numerical Methods in Engineering, 83: , [2] P. Alfeld, M. Neamtu, and L.L. Schumaker. Bernstein-bézier polynomials on spheres and sphere-like surfaces. Computer Aided Geometric Design, 13: , [3] P. Alfeld, B. Piper, and L. L. Schumaker. An explicit basis for c 1 quartic bivariate splines. SIAM Journal of Numerical Analysis, 24: , [4] P. Alfeld and L. L. Schumaker. On the dimension of bivariate spline spaces of smoothness r and degree d = 3r +1. Numerical Mathematic, 57: , [5] M. Bernadou. Finite Element Methods for Thin Shell Problems. Masson, Paris, first english language edition edition, [6] Stephenson MB Blacker TD. Paving: A new approach to automated quadrilateral mesh generation. International Journal for Numerical Methods in Engineering, 32: , [7] P. G. Ciarlet. Numerical Analysis of the Finite Element Method. Les Presses de L Universite de Montreal, Quebec, Canada, [8] P. G. Ciarlet and J. L. Lions. Handbook of Numerical Analysis: Finite Element Methods, volume 1-2. North-Holland, Amsterdam, [9] J. F. Ciavaldini and J. C. Nedelec. Sur l element de fraeijs de veubeke et sander. Revue Francaise d automatique, Informatique, Recherche Opérationnelle, R-2:29 46, [10] R. W. Clough and J. L. Toucher. Finite element stiffness matrices for the analysis of plate bending. In Proceedings of the 1st Conference of Matrix Methods in Structural Mechanics, Wright-Patterson AFB AFFDL TR 66-80, pages , [11] T. H. Cormen, C. E. Leiserson, and R. L. Rivest. Introduction to Algorithms. MIT Press, Cambridge, Massachusetts, second edition, [12] D. Doo and M. A. Sabin. Behavior of recursive division surfaces near extraordinary points. Computer Aided Geometric Design, 10: , [13] Richard F. Riesenfeld Elaine Cohen and Gershon Elber. Geometric Modeling with Splines - An Introduction. Natick, Massachusetts,, a. k. peters. edition, [14] G. E. Farin. Curves and Surfaces for CAGD: A Practical Guide. Academic Press, fourth edition, [15] E. Fasshauer and L. L. Schumaker. Minimal energy surfaces using parametric splines. Computer Aided Geometric Design, 13(1):45 79, 1996.

105 97 [16] The Finite Element Method for Solid, Robert L Taylor Structural Mechanics, Seventh Edition by Olek C Zienkiewicz, and David D. Fox. Finite Element Method. Butterworth Heinemann, London, 7th edition, [17] Stefanie Hahmann Georges-Pierre Bonneau. Flexible g1 interpolation of quad meshes. Graphical Models, 76(6): , [18] G. Greiner, J. Loos, and W. Wesselink. Data dependent thin plate energy and its use in interactive surface modeling. In Computer Graphics Forum (EUROGRAPHICS 96 Proceedings), volume 15(3), pages C 175 C 185, [19] D. Hong. Spaces of bivariate spline functions over triangulations. Journal of Approximation Theory and Applications, 7:56 75, [20] Hujun Bao Hongwei Lin, Wei Chen. Adaptive patch-based mesh fitting for reverse engineering. Computer-Aided Design, 39: , [21] J. Hoschek and D. Lasser. Fundamentals of Computer Aided Geometric Design. A K Peters, Wellesley, MA, [22] A. Ibrahim and L. L. Schumaker. Super spline spaces of smoothness r and degree d 3r + 2. Constructive Approximation, 7: , [23] Y Bazilevs J.A. Cottrell, T.J.R. Hughes. Isogeometric Analysis: toward integration of CAD and FEA. Wiley, [24] R. E. Jones. Qmesh: A self-organizing mesh generation program. Technical Report SLA , Sandia Laboratories, Albuquerque, N. M., June [25] J. Wipper: K. Höllig, U. Reif. Weighted extended b-spline approximation of dirichlet problems. SIAM Journal of Numerical Analysis, 39(2): , [26] G. Sangalli R. Vázquez. (2014) Mathematical analysis of variational isogeometric methods. Acta Numerica Online publication date: 1-May L. Berao da Veiga A. Buffa G. Sangalli R. Vazquez L. Beirão da Veiga, A. Buffa. Mathematical analysis of variational isogeometric methods. Acta Numerica, 23( ), [27] M. J. Lai. Scattered data interpolation and approximation by using bivariate c 1 piecewise cubic polynomials. Computer Aided Geometric Design, 13:81 88, [28] M. J. Lai and L. L. Schumaker. On the approximation power of bivariate splines. Advances in Comp. Math., 9: , [29] W.Qiu A. Joplin L.Demkovicz, P. Gatto. G1-interpolation and geometry reconstruction for higher order finite elements. Computer Methods in Appl. Mech. and Eng., 198(13-14): , [30] Q. Liu and T. C. Sun. g 1 interpolation of mesh curves. Computer-Aided Design, 26(4): , 1994.

106 98 [31] T. Matskewich M. Bercovier, O.Volpin. Globally g1 free form surfaces using real plate invariant energy methods,. In A. LeMehaute and all., editors, Curves and Surfaces 1996, pages Vanderbilt U Press, [32] J. Morgan and R. Scott. A nodal basis for c 1 piecewise polynomials of degree n 5. Mathematical Computations, 29: , [33] G. M. Nielson. A method for interpolating scattered data based upon a minimum norm network. Mathematics of Computation, 40(161): , [34] M. Nielson and R. Ramaraj. Interpolation over a sphere based upon a minimum norm network. Computer Aided Geometric Design, 4:41 57, [35] J. Peters. Smooth interpolation of a mesh of curves. Constructive Approximation, 7: , [36] J. Peters. Joining smooth patches around a vertex to form a c k surface. Computer Aided Geometric Design, 9: , [37] Jörg Peters. Matched g k -constructions yield c k -continuous iso-geometric elements. eprint, [38] L. Piegl and W. Tiller. The NURBS Book. Monographs in Visual Communication. Springer, Wellesley, MA, second edition, [39] B. Piper. Visually smooth interpolation with triangular bézier patches. In G. Farin, editor, Geometric Modeling: Algorithms and New Trends, pages , Philadelphia, PA, [40] P.Kagan, A.Fischer, and P.Bar-Yoseph. New b-spline finite element approach for geometrical design and numerical analysis. International Journal for Numerical Methods in Engineering, 41: , [41] H. Pottmann. Scattered data interpolation based upon generalized minimum norm networks. Constructive Approximation, 7: , [42] U. Reif. Biquadratic g-spline surfaces. Computer Aided Geometric Design, 12: , [43] R. F. Sarraga. g 1 interpolation of generally unrestricted cubic bézier curves. Computer Aided Geometric Design, 4:23 39, [44] R. F. Sarraga. Errata: g 1 interpolation of generally unrestricted cubic bézier curves. Computer Aided Geometric Design, 6: , [45] R. F. Sarraga. Recent methods for surface shape optimization. Computer Aided Geometric Design, 15(5): , [46] S.P.Timoshenko and S.Woinowsky-Krieger. Theory of Plates and Shells. McGraw-Hill, second edition, [47] G. Strang. Piecewise polynomials and the finite element method. Bulletin of the American Mathematical Society, 79: , 1973.

107 99 [48] K.Karciauskas T. Nguyen and J. Peters. A comparative study of several classical, discrete differentila and isogeomatruc methods for solving poisson s equation on the disk. Axioms, 3: , [49] Peiru Wu Fengshan Liu Xiquan Shi, Tianjun Wang. Reconstruction of convergent g1 smooth b-spline surfaces xiquan shi a,d,, tianjun wang b, peiru wu c, fengshan liu. Computer Aided Geometric Design, 21: , [50] Piqiang Yu Xiquan Shi, Tianjun Wang. A practical construction of g1 smooth biquintic b-spline surfaces over arbitrary topology. Compter Aided Design, 36(5): , [51] W. C. Young. Roark s Formulas for Stress and Strain. General Engineering Series. McGraw-Hill International Editions, sixth edition, 1989.

108 A Illustrations to approximate solution of the Thin Plate Problem 1 A Illustrations to approximate solution of the Thin Plate Problem Fig. 46: Level lines for the resulting surface and for its first-order derivatives (case of the circular domain, irregular mesh) (a) Z (b) Z X (c) Z Y. Fig. 47: Level lines for the resulting surface and for its first-order derivatives (case of the square domain, irregular mesh) (a) Z (b) Z X (c) Z Y.

109 A Illustrations to approximate solution of the Thin Plate Problem 2 Fig. 48: Values for approximate (bold line) and exact (thin line) solutions, their first order derivatives and the bending moments along segment X = 1 (case of the circular domain, irregular mesh) (a) Z (b) Z X (c) Z Y (d) M X (e) M Y (f) M XY. Fig. 49: Difference between the approximate and the exact solutions (case of the circular domain, irregular mesh) (a) Z (b) Z X (c) Z Y (d) M X (e) M Y (f) M XY.

110 A Illustrations to approximate solution of the Thin Plate Problem 3 Fig. 50: Values for approximate (bold line) and exact (thin line) solutions, their first order derivatives and the bending moments along segment X = 1 (case of the square domain, irregular mesh) (a) Z (b) Z X (c) Z Y (d) M X (e) M Y (f) M XY. Fig. 51: Difference between approximate and exact solutions (case of the square domain, irregular mesh) (a) Z (b) Z X (c) Z Y (d) M X (e) M Y (f) M XY.

111 B Algorithms 4 B Algorithms Algorithm 5 In order to clarify the Algorithm, the coefficient of a D-type control point D in the Circular Constraint corresponding to vertex Ṽ will be denoted by coeff D. Ṽ Algorithm for construction of the D-dependency tree and classification of D-type and T -type control points for a connected component of the D-dependency graph which has no dangling half-edge Let connected component C of the D-dependency graph have no dangling half-edge. It means that C consists of D-relevant primary vertices and full edges only; let it contain V primary vertices and E V 1 edges of the initial mesh. If E = V 1 then C coincides with its spanning tree and there is no chance of assigning D-type control point to every vertex of the component (the Algorithm fails). Otherwise (1) Build a spanning tree of C. There is at least one edge ẽ of the connected component which does not participate in the spanning tree. (Although the choice of the spanning tree and the choice of the edge may affect the stability and even the existence of the solution, the current presentation is restricted to the description of a simple algorithm. A study of more complicated cases is left for a possible further research). (2) Choose one vertex of ẽ to be the root of the D-dependency tree (vertex R), denote the second vertex by Ṽ (0) (see Figure 52). Assign the D-type control point of edge ẽ to the root vertex R (denote the control point by D( R)). (3) Build the D-dependency tree of C: direct every mesh edge of the tree from the upper vertex to a lower one (according to the hierarchy of the spanning tree). (4) Classify D-type and T -type control points according to the same principles as in Algorithm 4. The only difference is that now D( R) can not be considered as a basic control point. Let Ṽ (0) Ṽ (1)... Ṽ (k) R be the path in the D-dependency tree from vertex Ṽ (0) to the root. All vertices Ṽ (0),..., Ṽ (k) are inner even vertices of the initial mesh, because any boundary vertex uses at most one D-type control point and so it has at most one adjacent full edge in the D-dependency tree. The following local modifications of Algorithm 4 should be made. (a) According to Algorithm 4, one relates to D( R) for the first time when the level of vertex Ṽ (0) in the D-dependency tree (which is traversed down-up) is reached. At this step one should close the Circular Constraint of vertex Ṽ (0) using D(Ṽ (0) ). Both D( R) and D(Ṽ (0) ) participate in the Circular Constraint with a non-zero coefficients, because both corresponding full edges belong to the D-dependency graph. Therefore the Circular Constraint defines dependency of D(Ṽ (0) ) on D( R) in the following way

112 B Algorithms 5 D(Ṽ (0) ) = coeffd( R) Ṽ (0) coeff D(Ṽ (0) ) Ṽ (0) D( R) + f D(Ṽ (0) ) (81) where f D(Ṽ (0)) stands for some linear combination of the basic control points. (b) Proceeding to traverse the D-dependency tree down-up, one gradually defines the linear dependencies of D(Ṽ (1) ),..., D(Ṽ (k) ) on D( R) and some basic control points. At the level of the root vertex one gets D( R) = coeff D( R) D( R) + f where coeff = ( 1) k coeffd( R) Ṽ (0) coeff D(Ṽ (0) ) Ṽ (0) coeff D(Ṽ (0) ) Ṽ (1) coeff D(Ṽ (1) ) Ṽ (1) (82)... coeff D(Ṽ (k 1) ) Ṽ (k) (83) coeff D(Ṽ (k) ) Ṽ (k) (c) If coeff 1 (which holds in a general case) then D( R) is classified as a dependent control point; its dependency on the basic control points is defined according to Equation 82. It remains to substitute the expression for D( R) into dependency equations for D(Ṽ (0) ),..., D(Ṽ (k) ). In this case, the Algorithm succeeds. Otherwise it is possible either to try to choose another free edge of the spanning tree or even another spanning tree and to run the Algorithm from the beginning or to decide that the Algorithm fails and to use one of the possibilities listed in the end of Subsection Algorithm 7 Algorithm for construction of mixed MDS B (4,5) Let a planar mesh have either a polygonal or a smooth global boundary and global in-plane parametrisation Π = Π (bilinear) or Π = Π (bicubic) is considered. In description of the Algorithm superscripts (4) and (5) are added in order to specify whether some equation or control point relates to degree 4 or 5 of the resulting patch. Stage 1 Assume (artificially) that there are no D-relevant boundary vertices. Classify all V (4), E (4), D (4), T (4) -type control points adjacent to the inner vertices precisely as in the case of global bilinear in-plane parametrisation Π (bilinear) (see Subsections and Algorithm 4). The classification exists according to Theorem 6. At the end of this stage all V (4),E (4),T (4) -type control points for all inner vertices and all D (4) -type control points are classified and Eq(0) -type and Eq(1) -type equations at all inner vertices are satisfied. For an edge with one boundary vertex, control points ( L (4) 0 ( L (4) (4) (4) 1, C 1, R 1 are satisfied (see Figure 40(a)). (4) (4), C 0, R 0 ), ) and C (4) 2 are classified and equations Eq (4) (0) and Eq (4) (1) Stage 2 For every inner edge with two inner vertices, apply a local template for classification of the middle (4) control points, exactly as in the case of global bilinear in-plane parametrisation Π (bilinear) (see Subsection 11.3).

113 B Algorithms 6 At the end of this stage all points from G lying on or adjacent to any edge with two inner vertices and all D (4) -type control points are classified (see Figure 40(a)). G 1 -continuity conditions are satisfied for any edge with two inner vertices. For every boundary mesh element, all degree 4 control points are classified. CP (4) Stage 3 For every boundary mesh element, consider 3D patch of degree (5) 5. Use the degree elevation formulas in order to classify control points P i,j, (5) (5) i = 0,..., 5, j = 0, 1 and P 0,2, P 5,2 and in order re-compute their dependencies on degree 4 basic control points from CP (4,5) (see Figure 40). At the end of this stage, all G 1 -continuity conditions hold for all edges with two inner vertices. For an edge with one boundary vertex, control points ( L (5) (5) (5) (5) i, C i, R i ), i = 0, 1 and C 2 are classified and equations Eq (5) (0) and Eq (5) (1) are satisfied (see Technical Lemma 7, Appendix, Section C) Stage 4 For an edge with one boundary vertex, locally classify control points ( L (5) (5) (5) i, R i ) (i = 2, 3, 4, 5) and C i (i = 3, 4, 5) in such a manner that the remaining G 1 -continuity equations for the edge will be satisfied. In the case of a mesh with a polygonal global boundary and global in-plane (bilinear) parametrisation Π - V,E-type control points adjacent to the boundary vertex ( L (5) (5) (5) 5, C 5, R 5 and C (5) 4 ) are classified by a local template described in Subsection D,T -type control points adjacent to the boundary vertex (L (5) 4, R(5) ) are classified by a local template described in Subsection C (5) 3 4 and - Middle control points ( L (5) 2, R(5) (5) 2, L 3, R(5) 3 ) are classified according to a local template described in Subsection In the case of a mesh with a smooth global boundary and global in-plane (bicubic) parametrisation Π (5) - Control points L 5, C(5) 5, R(5) 5, i = 4, 5 are classified by local template T B1 (bicubic), described in Subsection (5) - Middle control points L 3, C(5) 3, R(5) (5) 3, L 2, R(5) 2 are classified according to a local template described in Subsection

114 B Algorithms 7 Fig. 52: An illustration for the construction of a D-dependency tree when a component of D-dependency graph has no dangling half-edge.

115 C Technical Lemmas 8 C Technical Lemmas Technical Lemma 1: Let Π (bilinear) PAR (1) be global bilinear parametrisation and let λ, λ, γ, γ, ρ, ρ be vertices of two adjacent mesh elements (see Figure 12). Then control points, which belong to CP (n) G ( Π (bilinear) ) and participate in G 1 -continuity conditions for the common edge of two patches, and first-order differences of the control points have the following representations C j = γ ( 1 n) j + j n γ, R j = n 1 n j n ( γ n + γ j ) n + 1 n j n ( ρ n + n) ρ j, L j = n 1 n j n ( γ n + γ j ) n + 1 n j n ( λ n + λ ) j n, C j = 1 n ( γ ( γ), ) L j = 1 n ( λ γ) n j n + ( λ γ ) j n, R ( j = 1 n ( ρ γ) n j n + ( ρ γ ) j ) n (84) Here j = 0,..., n in expressions for C j, R j, L j, L j, R j and j = 0,..., n 1 for C j. Technical Lemma 2: The control points of bicubic in-plane parametrisation P (u, v) = 3 P i,j=0 ij Bij 3 (u, v) for a boundary mesh element in the case of a planar mesh with a piecewise-cubic G 1 -smooth global boundary have the following explicit formulas in terms of the planar mesh data (see Figure 34) P 00 = Ã P02 = 1 3 (Ã + 2 D) P 10 = 1 3 (2Ã + B) P12 = 1 9 (2Ã + B + C + 2 D + 3Ẽ) P 20 = 1 3 (Ã + 2 B) P22 = 1 9 (Ã + 2 B + 2 C + D + 3 F ) P 30 = B P32 = 1 3 ( B + 2 C) P 01 = 1 3 (2Ã + D) P03 = D P 11 = 1 9 (4Ã + 2 B + C + 2 D) P13 = Ẽ P 21 = 1 9 (2Ã + 4 B + 2 C + D) P23 = F P 31 = 1 3 (2 B + C) P33 = C (85) Technical Lemma 3: Let P (u, v) be the bicubic in-plane parametrisation of a boundary mesh element defined according to Technical Lemma 2 (see Figure 34). Let ẽ = 1 2 f = 1 2 { 1 3 (2Ã + B) ( C + 2 D) } { 1 3 (Ã + 2 B) (2 C + D) } (86) and let two families of the planar vectors g (u) i and g (v) j (i, j = 0,..., 3) be defined

116 C Technical Lemmas 9 as follows (see Figure 53(a)) g (u) 0 = B Ã g(v) 0 = D Ã g (u) 1 = Ẽ D g (v) 1 = Ẽ ẽ g (u) 2 = F Ẽ g(v) 2 = F f g (u) 3 = C F g (v) 3 = C B (87) Let further G (u) and G (v) be the minimal infinite sectors which respectively contain all vectors from the first and second families, and let these sectors be bounded by rays corresponding to the angles α (u) min, α(u) max, α (v) min, α(v) max (see Figure 53(b)). Then (1) { g (u) i } 3 i=0 and { g (u) j } 3 j=0 are respectively generators of P u P and v the meaning that for every parametric value (u, v) [0, 1] 2, P P u and v can be written as a positive linear combination of these vectors. Here a positive linear combination is defined as such a linear combination that all its coefficients are non-negative and at least one coefficient is strictly positive. in (2) Relations α (u) min > α(v) max and α max (u) < α (v) min provide a sufficient condition for the regularity of parametrisation P (u, v). Proof (1) The first-order partial derivatives of in-plane parametrisation have the following representations in terms of the control points P ij, (i = 0,..., 2, j = 0,..., 3). P u (u, v) = i=0 j=0 ( P i+1,j P ij )Bi 2(u)B3 j (v) P v (u, v) = i=0 j=0 ( P i,j+1 P ij )Bi 3(u)B2 j (v) (88) Bézier polynomials are always non-negative and for every parametric value (u, v) [0, 1] 2 ], at least one of the products { Bi 3(u)B2 j (v)} i = 0,..., 3 is strictly j = 0,..., 2 { } 3 { } 3 positive. It implies that in order to prove that and serve as generators of P u v, it is sufficient to show that every one of the firstorder differences of the control points can be represented as a positive linear combination of the vectors from the corresponding family. Explicit formulas for the control points of in-plane parametrisation (see Equation 85) lead to the following expressions. and P g (u) i i=0 g (v) j j=0

117 C Technical Lemmas 10 The first-order differences in u-direction P 10 P 00 = P 20 P 10 = P 30 P 20 = 1 3 ( B Ã) = 1 3 g(u) 0 P 11 P 01 = P 21 P 11 = P 31 P 21 = 1 9 (2( B Ã) + ( C D)) = 1 9 (2 g(u) 0 + g (u) 1 + g (u) 2 + g (u) P 12 P 02 = 1 9 (( B Ã) + ( C D) + 3(Ẽ D)) = 1 9 ( g(u) g (u) 1 + g (u) 2 + g (u) 3 ) P 22 P 12 = 1 9 (( B Ã) + ( C D) + 3( F Ẽ)) = 1 9 ( g(u) 0 + g (u) g (u) 2 + g (u) 3 ) P 32 P 22 = 1 9 (( B Ã) + ( C D) + 3( C F )) = 1 9 ( g(u) 0 + g (u) 1 + g (u) g (u) 3 ) P 13 P 03 = Ẽ D = g (u) 1 P 23 P 13 = F Ẽ = g(u) 2 P 33 P 23 = C F = g (u) 3 3 ) (89) The first-order differences in v-direction P 01 P 00 = P 02 P 01 = P 03 P 02 = 1 3 ( D Ã) = 1 3 g(v) 0 P 11 P 10 = 1 9 (2( D Ã) + ( C B)) = 1 9 (2 g(v) 0 + g (v) 1 ) P 12 P 11 = 1 18 (6(Ẽ ẽ) + 2( D Ã) + ( C B) = 1 18 (2g(v) 0 + 6g (v) 1 + g (v) 3 ) P 13 P 12 = 2 3 (Ẽ ẽ) = 2 3 g(v) 1 P 21 P 20 = 1 9 (( D Ã) + 2( C B)) = 1 9 ( g(v) g (v) 1 ) P 22 P 21 = 1 18 (6( F f) + ( D Ã) + 2( C B) = 1 18 (g(v) 0 + 6g (v) 2 + 2g (v) 3 ) P 23 P 22 = 2 3 ( F f) = 2 3 g(v) 2 P 31 P 30 = P 32 P 31 = P 33 P 32 = 1 3 ( C B) = 1 3 g(v) 3 (90) Relations 89 and 90 imply that for every parametric value of (u, v) [0, 1] 2, the first-order partial derivatives P P u (u, v) and v (u, v) can be represented as a positive linear combination of the generators. It completes the straightforward proof of the first statement of Technical Lemma 3. (2) The proof of the regularity of the bicubic in-plane parametrisation is subdivided into a few parts according to the different requirements listed in the definition of a regular parametrisation (Definition 8). Bijection. One should prove that P (u, v) defines a bijection. On the contrary, let there exist such parametric values (u 0, v 0 ) (u 1, v 1 ) that P (u 0, v 0 ) = P (u 1, v 1 ). Let segment σ(t) connect these two values in the parametric domain σ(t) = (u 0, v 0 )(1 t) + (u 1, v 1 )t (91) Then P (t) = P (σ(t)) is a smooth closed curve in XY -plane. Let f(t) be Z- coordinate of the vector product of P (t) and some constant vector d f(t) = d, P (t) (92)

118 C Technical Lemmas 11 The choice of (u 0, v 0 ) and (u 1, v 1 ) implies that f(0) = f(1). According to the Lagrange theorem, there exists such a value τ [0, 1] that f (τ) = 0. In order to show that the assumption is not correct, it is sufficient to choose such a vector d that f (t) 0 for every t [0, 1]. In this case, the proof of bijection will be completed. The choice of d is based on the formula f P (t) = d, u (t)(u 1 u 0 ) + P v (t)(v 1 v 0 ) (93) and is made in the following manner - If (u 1 u 0 )(v 1 v 0 ) 0 then choose the direction of d strictly between α max (v) and α (u) P P min. In this case d, u > 0, d, v > 0 for every t; f (t) for every t has the same sign as (u 1 u 0 ) (or as (v 1 v 0 ) if (u 1 u 0 ) = 0) and can not be equal to zero. - If (u 1 u 0 )(v 1 v 0 ) < 0 then choose the direction of d strictly between α max (u) and α (v) P P min. In this case d, u < 0, d, v > 0 for every t and f (t) for every t has the same sign as (v 1 v 0 ). It is clear that P (u, v) is C 1 -smooth as a bicubic Bézier polyno- Smoothness. mial. Regularity of Jacobian. Note, that det(j ( P ) (u, v)) = P u, P v. The regularity of the Jacobian J ( P ) trivially follows from the facts that for every parametric value (u, v) [0, 1] 2, the partial derivatives P P u and v can be represented { } 3 { } 3 as some positive linear combinations of generators and g (u) i respectively and that g (u) i, g (v) j > 0 for every i, j = 0,..., 3 due to the assumed separation between G (u) and G (v). TechnicalLemma 3 i=0 g (v) j j=0 Technical Lemma 4: Let a planar mesh have piecewise-cubic G 1 -smooth global boundary and P (u, v) be the restriction of the global in-plane parametrisation Π (bicubic) on such a boundary mesh element, that its upper edge lies on the global boundary (see Figure 34). Then the-first order partial derivatives of P (u, v) along the left and the right edges of the element have the following explicit form. The partial derivative in the direction along the left edge P v (0, v) = D Ã (94) The partial derivative in the cross direction for the left edge ( P u (0, v) = ( B Ã)B2 0(v) ( B Ã)+( C D) ) B1(v) 2 + 3(Ẽ D)B 2(v) 2 (95) The partial derivative in the direction along the right edge P v (1, v) = C B (96)

119 C Technical Lemmas 12 The partial derivative in the cross direction for the right edge ( P u (1, v) = ( B Ã)B2 0(v) ( B Ã)+( C D) ) B1(v) 2 + 3( C F )B2(v) 2 (97) Technical Lemma 5: Let conventional weight functions c(v), l(v), r(v) for the common edge of two adjacent boundary mesh elements be defined according to global in-plane parametrisation Π (bicubic). Then the coefficients of the weight functions have the following representations in terms of the initial mesh data (see Figure 35) l 0 = ρ γ, γ γ l 1 = 1 2 ( ρ γ) + ( ρ γ ), γ γ l 2 = 3 T ρ γ, γ γ r 0 = γ λ, γ γ r 1 = 1 2 ( γ λ) + ( γ λ ), γ γ r 2 = 3 γ T λ, γ γ c 0 = γ ( λ, ρ γ c 1 = 1 4 γ λ, ρ γ + γ λ, ρ γ + 2 γ λ, ) ρ γ ( c 2 = γ λ, T ρ γ + 3 γ T λ, ρ γ + ( γ λ) + ( γ λ ) ), ( ρ γ) + ( ρ γ ) ( c 3 = 3 4 ( γ λ) + ( γ λ ), T ρ γ + γ T ) λ, ( ρ γ) + ( ρ γ ) c 4 = 9 γ T λ, T ρ γ (98) (99) Technical Lemma 6: Let conventional weight functions c(v), l(v), r(v) for the common edge of two adjacent boundary mesh elements be defined according to global in-plane parametrisation Π (bicubic). Then the following relations between the coefficients of the weight functions with respect to Bézier and the power bases hold l (power) 0 = l 0 r (power) 0 = r 0 l (power) 1 = 2(l 1 l 0 ) r (power) 1 = 2(r 1 r 0 ) l (power) 2 = l 0 2l 1 + l 2 r (power) 2 = r 0 2r 1 + r 2 (100) c (power) 0 = c 0 c (power) 1 = 4( c 0 + c 1 ) c (power) 2 = 6(c 0 2c 1 + c 2 ) c (power) 3 = 4( c 0 + 3c 1 3c 2 + c 3 ) c (power) 4 = c 0 4c 1 + 6c 2 4c 3 + c 4 (101)

120 C Technical Lemmas 13 Technical Lemma 7: Let a planar mesh have either a polygonal or a smooth global boundary and let global in-plane parametrisation Π (bilinear) (bicubic) or Π be considered. Further, for the inner vertex of an edge with one boundary vertex, let the system of all Eq (4) (0) -type and Eq (4) (1) -type equations be satisfied by classification of V (4) -type, E (4) -type, D (4) -type and T (4) -type control points adjacent to the vertex. In particular, for the edge with one boundary vertex, (4) (4) (4) (4) control points (L i, C i, R i ) for i = 0, 1 and C 2 are classified (see Figure 40(a)). Then (1) The degree elevation formulas for control points ( L (5) (5) (5) i, C i, R i ) for i = (5) 0, 1 and C 2 (see Figure 40(b)) involve only control points ( L (4) (4) (4) i, C i, R i ) (4) for i = 0, 1 and C 2. (2) Control points (L (5) i, C (5) i, R (5) i ) (i = 0, 1) and C (5) 2, computed according to the degree elevation formulas, satisfy equations Eq (5) (0) and Eq (5) (1) for the edge with one boundary vertex. Here superscripts (4) and (5) are used in order to specify whether some equation or control point relates to degree 4 or 5 of the resulting patch. Proof (1) The first statement of the Technical Lemma immediately follows from the straightforward formulas R (5) C (5) 0 = L (5) R (5) C (5) L (5) 0 = 1/5(4 C (4) 0 0 = 1/5(4 L (4) (4) (4) R 0 + C 0 ) (4) 0 + C 0 ) (4) (4) R R 1 = 1/25( (4) (4) 1 = 1/5(4 C 1 + C 0 ) 1 = 1/25(16 L (4) L (4) C (5) (4) (4) 2 = 1/5(3 C C 1 ) (4) (4) C 1 + C 0 ) (4) (4) C 1 + C 0 ) (102) The important implication is that as soon as the control points ( L (4) i, i, i ) (4) (i = 0, 1) and C 2 are classified, control points ( L (5) (5) (5) i, C i, R i ) (i = 0, 1) and C (5) 2 are also classified and dependencies of the dependent control points from CP (5) are fully defined. G (2) It is sufficient to prove the second statement of the Technical Lemma in the case when the conventional weight functions correspond to global bilinear in-plane parametrisation Π (bicubic). Indeed, Lemma 21 shows that for an edge with one boundary vertex, the system of equations Eq(0) and Eq(1) in the case of Π (bicubic) is equivalent to the system in the case of Π (bilinear). Equations Eq (5) (0) and Eq (5) (1) involve coefficients of the weight functions (which clearly do not depend on chosen degree 4 or 5 of MDS) and the firstorder differences of the control points ( L (5) i, C (5) i, R (5) i ), i = 0, 1 (which can be expressed in terms of ( L (4) i, C (4) i, R (4) i ), i = 0, 1 according to Equation C (4) R (4)

121 C Technical Lemmas ). One can easily verify, that Eq (5) (0) = 4/5 Eq (4) (0) Eq (5) (0) = 4/5 ( Eq (4) (0) + Eq (4) (1) ) (103) The last two equations clearly imply that statement (2) of the Technical Lemma is satisfied. Technical Lemma 7 (a) (b) Fig. 53: An illustration for a sufficient condition for the regularity of bicubic in-plane parametrisation.

122 D Proofs 15 D Proofs Proof of Theorem 3 First, it will be shown that the satisfaction of Equation 17 with scalar functions given in Equation 18 is sufficient in order to guarantee a G 1 -smooth concatenation between the adjacent patches. It will be verified, that the scalar functions given in Equation 18 satisfies all requirements of Definition 7 and may be used as the weight function. Equation 6. It should be verified that Equation 6 is satisfied for X and Y components of the partial derivatives L u, Ru and L v. For example, for X- component, one gets LX u (v)l(v) + RX u (v)r(v) + LX v (v)c(v) = LX u < R u, L v > RX u < L u, L v > +LX v < L u, R u >= L u LX u LX u LY u LX u mix R u RX u = det RX u RY u RX u = 0. L v LX v LX v LY v LX v (104) The same proof works for Y -components of the partial derivatives. Equation 7. It is necessary to verify that l(v)r(v) < 0 for every v [0, 1]. Equality l(v)r(v) = 0 is impossible as a trivial consequence of the regularity of parametrisation. Indeed, for example equality to zero of r(v) implies that ( 0 = r(v) = < L u, L LX v >= det u LX v LY u LY v ) = det(j ( L) (1, v)) (105) that contradicts the regularity of parametrisation for the left patch. l(v)r(v) is a continuous function and l(0) =< R u (0), L v (0) >> 0 and r(0) = < L u (0), L v (0) >< 0 because both R u (0) and L u (0) clearly point to the right side with respect to the tangent vector of the common boundary L v (0). Therefore l(v)r(v) 0 for every v [0, 1]. Equation 8. One should show that < L u, L v > 0 for every v [0, 1]. It immediately follows from the fact that Z-component of this cross product is equal to < L u, L v >= r(v) which is already proven to be non-zero. Now it will be shown that if the adjacent patches join the G 1 -smoothly, then Equation 17 with scalar functions given in Equation 18 is necessarily satisfied. Let the adjacent patches join the G 1 -smoothly. Then, according to Definition 7, there exist such scalar functions l(v), r(v), c(v) that Equations 6, 7, 8 are satisfied. In particular, Equation 6 implies that XY -components of the partial derivatives satisfy the equation L u l(v) + Ru r(v) + L v c(v) = 0 (106) The result of the cross product of the last expression respectively with L v and R u is clearly equal to zero. Together with the inequality R u, L v = 0 (which

123 D Proofs 16 follows from the regularity of in-plane parametrisation), it leads to the conclusion that the following relations between l(v), r(v), c(v) necessarily hold r(v) = L u, L v L u, R u, L l(v), R u c(v) = v R u, L l(v) (107) v and Equation 6 necessarily has the form L u, L L v L u, u l(v) Ru R u, L l(v) R u + Lv v R u, L l(v) = 0 (108) v According to Equation 7, l(v) 0 for any v [0, 1]. Therefore it is possible l(v) to divide both parts of Equation 108 by R u, L. Therefore one sees, that v Equation 17 (and even Equation 6) is satisfied for the scalar functions given in Equation 18. Theorem 3 Proof of Lemma 2 Proof of the Lemma is straightforward. Let L = ( L, L) and R = ( R, R) be the restrictions of Ψ on two adjacent mesh elements. Ψ agrees with degree m global regular in-plane parametrisation Π, therefore L and R are polynomials of degree m. Conventional weight functions l(v), r(v) and c(v) are evidently polynomials of (formal) degrees 2m 1, 2m 1 and 2m respectively. Ψ FUN ((n)) and so R and L are polynomials of (formal) degree n. Using Bézier representation of Z-components of the partial derivatives L u, R u, R v and of the weight functions l, r, c one gets: L u = n n j=0 L jb n j l = 2m 1 k=0 l k B 2m 1 k R u = n n j=0 R jb n j r = 2m 1 k=0 r k B 2m 1 k L v = n n 1 j=0 C jb n 1 j L u (v)l(v) + R u (v)r(v) + L v (v)c(v) = n n+2m 1 1 ) s=0 ( n+2m-1 s j + k = s 0 j n 0 k 2m 1 j + k = s 0 j n 1 0 k 2m c = 2m k=0 c kbk 2m ( n j ( n-1 j ) ( 2m-1 k ) ( 2m k ) (l k L j + r k R j ) + ) c k C j Bn+2m 1 s (v) (109) (110) Writing down equality to zero for every coefficient of the resulting Bézier polynomial leads to Equation 19. The number of necessary and sufficient equations is equal to the actual degree of the polynomial L u (v)l(v) + R u (v)r(v) + L v (v)c(v), that is max{max deg(l, r) + n, deg(c) + n 1}. Lemma 2

124 D Proofs 17 Proof of Lemma 7 It is sufficient to prove the Lemma for two adjacent patches. Let two adjacent patches L and R be defined by a bilinear in-plane parametrisation, the XY -components of the first and second order 3D partial derivatives, computed at the common vertex (see Subsection 2.6.3), have the following representation in terms of the initial mesh data: ɛ (R) = (ẽ (R), n R 0 ) τ (R) = ( t (R), n 2 ( R 1 R 0 )) ɛ (L) = (ẽ (L), n L 0 ) τ (L) = ( t (L), n 2 ( L 1 L 0 )) ɛ (C) = (ẽ (C), n C 0 ) (111) Here ẽ (R), ẽ (R), ẽ (R), ẽ (R), ẽ (R) are directed planar edges and τ (R), τ (L) are the twist characteristics of the planar mesh elements (see Subsection 2.3.1). Let Eq(0) be satisfied for the common edge of L and R. It is sufficient to show that Eq(1) is equivalent to the following equation where tw (R) + tw (L) = coeff (C) δ (C) (112) τ (R) tw (R) 1 = mix ɛ (R) ẽ (R),ẽ (C) 2 tw (L) 1 = mix ɛ (C) ẽ (C),ẽ (L) 2 (113) ɛ (C) ɛ (L) τ (L) coeff (C) = ẽ (R), ẽ (L) ẽ (R), ẽ (C) ẽ (C), ẽ (L) (114) and δ (C) is Z-component of the second-order derivative along the common edge (see Subsection 2.6.3). Indeed, the following relations between coefficients of the weight functions and geometrical characteristics of the planar mesh hold l 0 = ẽ (R), ẽ (C), l 1 l 0 = t (R), ẽ (C) r 0 = ẽ (C), ẽ (L), r 1 r 0 = t (L), ẽ (C) (115) According to these formulas, the first two summands of Eq(1) can be rewritten as follows n(l 0 L 1 + r 0 R 1 ) + (l 1 L 0 + r 1 R 0 ) = n(l 0 ( L 1 L 0 ) + r 0 ( R 1 R 0 )) + t (R), ẽ (C) L 0 + t (L), ẽ (C) R 0 + (n ( + 1)(l 0 L 0 + r 0 R 0 ) = 1 n ẽ (C), ẽ (R) τ (L) + t (L), ẽ (C) ɛ (R)) ( 1 n ẽ (C), ẽ (L) τ (R) + t (R), ẽ (C) ɛ (L)) + (n + 1)(l 0 L 0 + r 0 R 0 ) = τ (L) 1 n mix ɛ (C) + t (L), ẽ (R) ɛ (C) 1 n mix ɛ (R) τ (R) ɛ (C) ɛ (L) (n + 1)(l 0 L 0 + r 0 R 0 ) = τ (L) τ (R) 1 n mix ɛ (C) mix ɛ (C) ɛ (R) ɛ (L) + ( t (L), ẽ (R) t (R), ẽ (L) ) C 0 + (n + 1)(l 0 L 0 + r 0 R 0 ) + t (R), ẽ (L) ɛ (C) + (116)

125 D Proofs 18 The assumption that Eq(0) is satisfied implies that l 0 L 0 +r 0 R 0 = c 0 C 0 and so Eq(1) is equivalent to the equation τ (L) τ (R) 0 = 1 n mix ɛ (C) mix ɛ (C) ɛ (R) ɛ (L) + (117) { } t (L), ẽ (R) t (R), ẽ (L) + 2c 1 (n + 1)c 0 C0 + (n 1)c 0 C 1 It can easily be shown, that t (L), ẽ (R) t (R), ẽ (L) + 2c 1 = 2 ρ γ, λ γ = 2 ẽ (R), ẽ (L) = 2c 0 (118) Therefore Equation 117 can be further simplified as follows 0 = 1 n mix 1 n mix τ (L) ɛ (C) ɛ (R) τ (L) ɛ (C) ɛ (R) mix mix τ (R) ɛ (C) ɛ (L) τ (R) ɛ (C) ɛ (L) + (n 1)c 0( C 1 C 0 ) = + ẽ (R), ẽ (L) δ (C) (119) Now equation Eq(0) is used in order to make the last equation more symmetric. The tangent coplanarity in particular means that ( ɛ (R) 1 = ẽ (C),ẽ (L) ẽ (R), ẽ (L) ɛ (C) ẽ (R), ẽ (C) ɛ (L)) ( ɛ (L) 1 = ẽ (R),ẽ (C) ẽ (R), ẽ (L) ɛ (C) ẽ (C), ẽ (L) ɛ (R)) (120) Substitution of these formulas in the mixed products of Equation 119 gives 0 = ẽ(r), ẽ (C) τ (L) ẽ (C), ẽ (L) mix ɛ (L) + ẽ(c), ẽ (L) τ (R) ɛ (C) ẽ (R), ẽ (C) mix ɛ (C) + ẽ (R), ẽ (L) δ (C) (121) ɛ (R) In order to complete the proof it only remains to divide all the members of the last equation by ẽ (R), ẽ (C) ẽ (C), ẽ (L) which is not equal to zero due to the strict convexity of the quadrilateral mesh elements. Lemma 7 Proof of Lemma 8 The strict convexity of the mesh elements implies that any inner even vertex Ṽ has degree val(v ) = 4 at least. Let coeff (j) = 0 for every j = 1,..., val(v ). In particular, coeff (2) = 0 and so ẽ (1) and ẽ (3) are colinear and lie on some straight line l (1,3) ; coeff (3) = 0 and so ẽ (2) and ẽ (4) are colinear and lie on some straight line l (2,4) (see Figure 18). Therefore for val(v ) = 4 the vertex is proven to be regular. It remains to show that val(v ) could not be greater than 4. Indeed, let val(v ) > 4. Then, ẽ (2) should be colinear to both ẽ (4) and ẽ (val(v )) (because both coeff (3) and coeff (1) are equal to zero). But ẽ (4) and ẽ (val(v )) can not be

126 D Proofs 19 colinear because ẽ (val(v )) lies strictly between ẽ (4) and ẽ (deg(1)) which span an angle less than π due to the strict convexity of the mesh elements. Lemma 8 Proof of Lemma 9 (1) Compatibility of δ (j) (j = 1,..., val(v )) with some second-order functional derivatives in the functional sense means, that there exist such three scalars Z XX, Z XY, Z Y Y that the following relation holds for every j = 1,..., val(v ) ( ) ( ) δ (j) = (α (j), β (j) ZXX Z ) XY α (j) Z XY Z Y Y β (j) = ( ) α (j) 2 ZXX + 2α (j) β (j) Z XY + ( (122) β (j)) 2 ZY Y where α (j) and β (j) are respectively X and Y -components of the planar edge ẽ (j). In order to prove that the Circular Constraint is satisfied one should prove that 0 = val(v ) j=1 val(v ) j=1 ( 1) j ẽ (j 1),ẽ (j+1) ẽ (j 1),ẽ (j) ẽ (j),ẽ (j+1) δ(j) = ( 1) j ẽ (j 1),ẽ (j+1) ẽ (j 1),ẽ (j) ẽ (j),ẽ (j+1) { (α (j) ) 2 ZXX + 2α (j) β (j) Z XY + ( β (j)) 2 ZY Y } (123) independently of the values of Z XX,Z XY and Z Y Y. In other words it should be proven that the coefficient of every one of Z XX,Z XY and Z Y Y is equal to zero. Here it will be shown that the coefficient of Z XY is equal to zero; proof for the coefficients of Z XX and Z Y Y can be given in the same way. Coefficient of Z XY is equal to where val(v ) 2 j=1 ( 1) j η (j) (124) η (j) = (α (j 1) β (j+1) α (j+1) β (j 1) )α (j) β (j) (α (j 1) β (j) α (j) β (j 1) )(α (j) β (j+1) α (j+1) β (j) ) (125) It can be shown by a straightforward computation that η (j) = 1 + ξ (j 1) + ξ (j), where ξ (j) = β (j) α (j+1) α (j) β (j+1) α (j+1) β (j) (126) The first statement of the Lemma immediately follows from the last equation because 2 val(v ) j=1 ( 1) j η (j) = 2 val(v ) j=1 ( 1) j (1 + ξ (j 1) + ξ (j) ) is clearly equal to zero for an even value of val(v ). (2) For a non-regular 4-vertex Ṽ at least one of the coefficients in the circular equation Circular Constraint is not equal to zero. Let us assume that

127 D Proofs 20 coeff (4) 0 and that δ (4) is defined as a dependent variable according to the Circular Constraint. Then for any choice of δ (1), δ (2), δ (3) there exists such a value of δ (4) that the Circular Constraint is satisfied, and the value of δ (4) is uniquely defined. In order to prove the second statement of Lemma 9, one should show that for every choice of δ (j) (j = 1,..., 4) which satisfies the Circular Constraint, there exist such scalars Z XX, Z XY, Z Y Y that Equation 122 holds for every j = 1,..., 4. Indeed, for every choice of δ (1), δ (2), δ (3) there exist such unique values of Z XX, Z XY, Z Y Y that Equation 122 holds for j = 1, 2, 3. In order to prove it, one can write the system of equation for δ (1), δ (2), δ (3) in the matrix form ( δ (1) Z ) XX α (1) 2 ( 2α (1) β ) (1) β (1) 2 δ (2) = S Z XY (, where S = ) α (2) 2 ( 2α (2) β ) (2) β (2) 2 δ (3) Z ( ) Y Y α (3) 2 ( 2α (3) β ) (127) (3) β (3) 2 It is easy to show that det(s) = 2 ẽ (1), ẽ (2) ẽ (2), ẽ (3) ẽ (3), ẽ (1) 0 because ẽ (1), ẽ (2) 0, ẽ (2), ẽ (3) 0 as the vector products of consequent edges of the strictly convex quadrilaterals and ẽ (3), ẽ (1) 0 according to the assumption that coeff (4) 0. It means that for any choice of δ (1), δ (2), δ (3) values of Z XX, Z XY, Z Y Y are uniquely defined by equation Z XX Z XY Z Y Y = S 1 δ (1) δ (2) δ (3) (128) It remains to show that δ (4) also agrees with the second-order partial derivatives Z XX, Z XY, Z Y Y. The agreement holds because, there exists the unique value of δ (4) so that the Circular Constraint is satisfied, and from the first statement of the Lemma it is already known that δ (4) = ( α (4)) 2 ZXX + 2α (4) β (4) Z XY + ( β (4)) 2 ZY Y satisfies the Circular Constraint. Lemma 9 Proof of Theorem 5 The sufficiently long proof of Theorem 5 starts with the trivial Auxiliary Lemma 1. The Auxiliary Lemma just summarizes well-known algebraic facts, which will be useful in the proof. Auxiliary Lemma 1: Let Av = b be a linear system of equations, where A is p q matrix with rows A 0,..., A p 1, v is a vector of variables and b is a vector of free coefficients. Then A = A 0 A 1. A p 1 v = v 0 v 1. v q 1 b = b 0 b 1. b p 1 (129)

128 D Proofs 21 (1) The system has a solution (is consistent) if and only if for every nontrivial set of coefficients α 0,..., α p 1 so that the linear combination of rows of matrix A is equal to zero p 1 s=0 α sa s = 0, the corresponding linear combination of the free coefficients is also equal to zero p 1 s=0 α sb s = 0. Here a non-trivial set means that the set contains at least one non-zero element. (2) The rank of the matrix A is equal to r if and only if for any set of coefficients α 0,..., α p 1 so that p 1 s=0 α sa s = 0, the following two conditions hold (a) For any subset of l < p r coefficients { } l α sj, equality of every one j=1 of these coefficients to zero α sj = 0 (j = 1,..., l) does not necessarily imply that all other coefficients should also be equal to zero. (b) There exists such a subset of l = p r coefficients { } l α sj that if j=1 α sj = 0 (j = 1,..., l) then all other coefficients are necessarily equal to zero. (3) Under the assumption that q p the number of independent (free) variables is equal to q r. Which variables are free and which are dependent can be defined, for example, by the Gauss elimination (pivoting) process. Now it is possible to proceed with a formal proof of Theorem 5. The proof is based on representation of the Middle system of equations in the matrix form and uses a few Auxiliary Lemmas, which provide relations between a pure algebraic analysis of the system of equations and the geometrical essence of theorem. (1) Consistency. It will be shown that for every inner edge, the Middle system of equations is solvable in terms of the middle control points. Moreover, it will be shown that the Middle system of equation has a solution in terms of the side middle control points (L t, R t ) for t = 2,..., n 2 even if all the central middle control points C t for t = 3,..., n 3 are classified in advance as basic (free). For an inner edge, let the central middle control points C t for t = 3,..., n 3 be classified as basic(free). Then solvability of the Middle system in terms of control points (L t, R t ) (t = 2,..., n 2) is equivalent to solvability of the system in terms of differences L t, R t (t = 2,..., n 2), because every one of the differences contains exactly one non-classified control point L t or R t. The proof of the solvability starts with the representation of the full system of linearized G 1 -continuity equations Eq(s) (s = 0,..., n + 1) in the matrix form with respect to the differences L t, R t (t = 0,..., n). Equation Eq(s) (s = 0,..., n + 1) can be rewritten as follows (n + 1 s)(l 0 L s + r 0 R s ) + s(l 1 L s 1 + r 1 R s 1 ) + sumc s = 0 (130) where sumc s = (n s)(n+1 s) n c 0 C s + 2s(n+1 s) n c 1 C s 1 + s(s 1) n c 2 C s 2 (131)

129 D Proofs 22 For the full system of equations Eq(s) (s = 0,..., n + 1), coefficients of L t and R t (t = 0,..., n) form a (n + 2) 2(n + 1) matrix A and expressions sumc s (s = 0,..., n + 1) do not contain non-classified control points and are considered as the right-side coefficients b s = sumc s (s = 0,..., n + 1). One gets the following system, which corresponds to all n+2 linearized G 1 -continuity equations along the given edge A L 0 R 0. L n R n = b 0. b n+1 (132) In the last system, equations for s = 0, s = 1, s = n, s = n + 1 are known to be satisfied and L t, R t for t = 0, 1, n 1, n do not contain any non-classified control points. The Middle system of equations with respect to the differences L t, R t (t = 2,..., n 2) has the following representation in the matrix form where  L 2 R 2. L n 2 R n 2 = ˆb2. ˆbn 1 (133) - Matrix  is submatrix of matrix A, composed of rows s = 2,..., n 1 and columns which correspond to L 2, R 2,..., L n 2, R n 2. - Right-side coefficients ˆb 2,..., ˆbn 1 are equal to the right-side coefficients of the full system plus the result of transfer to the right side of expressions which contain the classified control points only ˆb2 = b 2 (2l 1 L 1 + 2r 1 R 1 ) ˆbs = b s for s = 3,..., n 2, ˆbn 1 = b n 1 (2l 0 L n 1 + 2r 0 R n 1 ) (134) For example in the case of n = 4, matrix A has the form L 0 R 0 L 1 R 1 L 2 R 2 L 3 R 3 L 4 R 4 s=0 5l 0 5r s=1 l 1 r 1 4l 0 4r s= l 1 2r 1 3l 0 3r s= l 1 3r 1 2l 0 2r s= l 1 4r 1 l 0 r 0 s= l 1 5r 1 (135)

130 D Proofs 23 and  is the 2 2 middle submatrix of A L 2 R 2 s = 2 3l 0 3r 0 (136) s = 3 3l 1 3r 1 In the case of n = 5, A is a 7 12 matrix and  is the 3 4 middle submatrix L 2 R 2 L 3 R 3 s = 2 4l 0 4r s = 3 3l 1 3r 1 3l 0 3r 0 s = l 1 4r 1 (137) In a general case matrix A of the full system and submatrix  of the Middle system have the following structure (here horizontal and vertical lines separate elements which belong to submatrix Â) The left upper corner of the matrix L 0 R 0 L 1 R 1 L 2 R 2 L 3 R 3 s=0 (n+1)l 0 (n+1)r s=1 l 1 r 1 nl 0 nr s= l 1 2r 1 (n 1)l 0 (n 1)r s= l 1 3r 1 (n 2)l 0 (n 2)r 0 The middle part of the matrix L t 1 R t 1 L t R t s=t 1 (n + 2 t)l 0 (n + 2 t)r s=t tl 1 tr 1 (n + 1 t)l 0 (n + 1 t)r 0 s=t (t + 1)l 1 (t + 1)r 1 The right lower corner of the matrix L n 3 R n 3 L n 2 R n 2 L n 1 R n 1 L n R n s=n 2 (n 2)l 1 (n 2)r 1 3l 0 3r s=n (n 1)l 1 (n 1)r 1 2l 0 2r s=n nl 1 nr 1 l 0 r 0 s=n (n+1)l 1 (n+1)r 1 The goal is to prove that the system defined by matrix  and the right-side vector ˆb is consistent. Let some non-trivial linear combination of the rows of matrix  be equal to zero n 1 s=2 α sâs = 0 In order to prove the consistency, one should verify that the corresponding linear combination of the right-side coefficients n 1 s=2 α sˆb s is also equal to zero. Auxiliary Lemma 2 provides the necessary and sufficient conditions for equality to zero of a non-trivial linear combination of the rows of matrix Â. Auxiliary Lemma 2: Let matrix  be the matrix of the Middle system of equations with respect to the differences L t, R t (t = 2,..., n 2) (see Equation 133). Then a non-trivial linear combination of its rows n 1 s=2 α sâs is equal to zero if and only if the following two conditions hold

131 D Proofs 24 (1) The Projections Relation is satisfied, or in other words, there exists such a constant χ that χ = l 0 l 1 = r 0 r 1 (138) (2) Coefficients α s (s = 2,..., n 1) are given by the formula α s = 2 n(n + 1) ( ) n+1 ( 1) s χ s 2 α s 2 (139) Proof See Appendix, after proof of Theorem 5. Now it remains to prove that if conditions (1) and (2) of Auxiliary Lemma 2 hold then the linear combination of the right-side coefficients n 1 s=2 α sˆb s is equal to zero. Auxiliary Lemma 3 presents an important relation between the linear combination, geometrical coefficient of proportionality χ defined by the Projections Relation and coefficients of the weight function c(v). Auxiliary Lemma 3: For an inner edge, let Eq(0) -type and Eq(1) -type equations be satisfied, matrix  corresponds to the Middle system of equations and let a non-trivial linear combination of the rows of matrix  be equal to zero n 1 s=2 α sâs = 0. Then the corresponding linear combination of the right-side coefficients of the Middle system has the following representation in terms of constant χ defined by Projections Relation (see Equation 138) and coefficients of the weight function c(v) n 1 s=2 { α sˆbs = 2 n 1 nχ 2 α 2 s=0 ( 1) s ( n-1 s } ) {c0 χ s C s 2χc 1 + χ 2 } c 2 (140) Proof See Appendix, after proof of Theorem 5. Auxiliary Lemma 4 contains the geometrical essence of the proof. It derives the relation between coefficients of the weight function c(v) and constant χ in the case when the Projections Relation is satisfied. Auxiliary Lemma 4: For two adjacent mesh elements with bilinear in-plane parametrisation, let the Projections Relation hold and constant χ be defined by Equation 138. Then the coefficients of the weight function c(v) satisfy the following equation c 0 2χc 1 + χ 2 c 2 = 0 (141) Proof See Appendix, after proof of Theorem 5. Auxiliary Lemma 4 clearly allows to complete the proof of the consistency of the Middle system. Indeed, let a non-trivial linear combination n 1 s=2 α sâs be

132 D Proofs 25 equal to zero. Then according to Auxiliary Lemma 2 the Projections Relation holds and n 1 s=2 α sˆb s is equal to zero according to Auxiliary Lemmas 3 and 4. (2) Classification of the control points. In the previous part of the proof it was already shown that the Middle system of equations is always solvable in terms of the side middle control points L 2,..., L n 2, R 2,..., R n 2 and the central middle control points C 3,..., C n 3 can be classified as basic(free) in advance. In addition, Auxiliary Lemma 2 shows that a non-trivial linear combination of rows of matrix  (which corresponds to the Middle system) is equal to zero if and only if the Projections Relation holds and the coefficients of the linear combination are defined by Equation 139. It implies that if the Projections Relation does not hold, no non-trivial linear combination of the rows of matrix  is equal to zero and the matrix is of the full row rank r = n 2. According to statement (3) of Auxiliary Lemma 1, the number of the basic (free) side middle control points in this case is equal to 2(n 3) (n 2) = n 4 and dependencies of the other side middle control points can be defined by the Gauss elimination process applied to the matrix Â. If the Projections Relation holds, then rank r of the matrix  is equal to n 3. Indeed, r n 3 because there exists a non-trivial zero combination of the rows of  (see Equation 139). It remains to show that r n 3. On the contrary, let r < n 3. Then according to statement (2a) of Auxiliary Lemma 1, equality to zero of l = 1 coefficient in the zero linear combination of rows n 1 s=2 α sâs = 0 should not necessarily imply that all other coefficients are equal to zero. However, it contradicts the recursive dependency (see Equation 144) between coefficients of a non-trivial zero linear combination of the rows. The number of basic (free) side middle control points in this case is equal to n 3 and from the Gauss elimination process it follows that there is exactly one basic control point in every pair ( L j, R j ) for j = 2,..., n 2. Below the Gauss elimination process is illustrated in the case of n = 5; in case of a general n the resulting matrix has precisely the same structure. For n = 5, application of two steps of the Gauss elimination process to matrix  of the Middle system of equations (see Equation 137) gives  2  3  4 4l 0 4r l 1 3r 1 3l 0 3r l 1 4r 1 4l 0 4r l 0 3r l 1 4r 1 Â2 Â2 3 4χ Â1 Â3 Â3 4 3χ Â2 4l 0 4r l 0 3r (142) The resulting matrix clearly shows that every second column contains a pivot and so in every pair ( L j, R j ) (j = 2, 3) exactly one control point can be classified as a basic control point. In addition, for every pair ( L j, R j ) (j = 2, 3), the resulting matrix defines dependency of the dependent control point on the basic

133 D Proofs 26 one. Theorem 5 Proof of Auxiliary Lemma 2 Conditions (1) and (2) are clearly sufficient in order to guarantee that the linear combination n 1 s=2 α sâs is equal to zero. It remains to show that the conditions are necessary. Indeed, equality n 1 s=2 α sâs = 0 implies that for columns which correspond to L t and R t (t = 2,..., n 2), one gets α t (n + 1 t)l 0 + α t+1 (t + 1)l 1 = 0 α t (n + 1 t)r 0 + α t+1 (t + 1)r 1 = 0 (143) The existence of the constant χ (condition (1)) immediately follows from the last pair of equations and the assumption that the linear combination is nontrivial. In addition, Equation 143 defines the recursive dependency between coefficients of the linear combination α t+1 = n + 1 t χα t, t = 2,..., n 2 (144) t + 1 A trivial inductive proof leads to the explicit formula for α s (Equation 139), which means that condition (2) is satisfied. AuxiliaryLemma 2 Proof of Auxiliary Lemma 3 The proof consists of two parts. The first part shows that the linear combination of the right-side coefficients of the Middle system of equations n 1 s=2 α sˆb s is equal to a similar linear combination of the right-side coefficients of the full system of equations n+1 s=0 α sb s. The second part expresses the linear combination n+1 s=0 α sb s in terms of χ and coefficients of the weight function c(v). Auxiliary Lemma 2 implies, that the Projections Relation holds and constant χ is correctly defined. According to the definition of ˆb 2 (see Equation 134), definition of χ and the assumption that equations Eq(0) and Eq(1) are satisfied, one gets ˆb2 = b 2 2(l 1 L 1 + r 1 R 1 ) b 2 2χ 1 (l 0 L 1 + r 0 R 1 ) (definition of χ) = Eq(1 ) = b 2 2 n χ 1 (b 1 1 n+1 (l 1 L 0 + r 1 R 0 )) b 2 2 n χ 1 (b 1 1 n+1 χ 1 (l 0 L 0 + r 0 R 0 )) b 2 2 n χ 1 b n(n+1) χ 2 b 0 (definition of χ) = Eq(0 ) = (145) In the same manner, it can be shown that ˆbn 1 = b n 1 2 n χb n + 2 n(n + 1) χ2 b n+1 (146)

134 D Proofs 27 Let α s for s = 0, 1, n, n+1 be formally defined according to the recursive relation 144 α 0 = 2 n(n+1) χ 2 α 2, α 1 = 2 n χ 1 α 2 α n = 2 n χα n 1, α n+1 = 2 n(n+1) χ2 α n 1 (147) Then Equations 145, 146 allow to conclude that n 1 n+1 α sˆbs = α s b s (148) s=2 s=0 Now it remains to substitute the explicit formulas for α s (see Auxiliary Lemma 2, Equation 139) and b s = sumc s (see Equation 131) into the right side of Equation 148. A straightforward computation of n+1 s=0 α sb s gives n+1 s=0 1 n+1 n s=0 1 n 1 n s=0 α sb s = n+1 s=0 α ssumc s = α s {(n s)(n+1 s)c 0 C s+2s(n+1 s)c 1 C s 1+s(s 1)c 2 C s 2}= (149) C s {α sc 0(n s)(n+1 s)+2α s+1c 1(s+1)(n s)+α s+2c 2(s+1)(s+2)}= { n 1 ( ) } 2 n α2χ2 ( 1) s n-1 {c0 } χ s C s s 2χc 1 + χ 2 c 2 s=0 Equation 149 completes the proof of Auxiliary Lemma 3. AuxiliaryLemma 3 Proof of Auxiliary Lemma 4 Let ϕ, ϕ, ψ, ψ be angles between the common edge of two patches and left and right adjacent edges (see Figure 21). In the case of the bilinear in-plane parametrisation, coefficients of the weight functions l(v) and r(v) have the following representations in terms of the geometrical characteristics of two adjacent mesh elements (see Equation 29) l 0 = ρ γ, γ γ = γ γ ρ γ sinψ l 1 = γ γ, ρ γ = γ γ ρ γ sinψ r 0 = γ γ, λ γ = γ (150) γ λ γ sinϕ r 1 = λ γ, γ γ = γ γ λ γ sinϕ Then the Projections Relation implies that χ = ρ γ sinψ ρ γ sinψ = λ γ sinϕ (151) λ γ sinϕ For coefficients of the weight function c(v) the following relations hold c 0 = ρ γ, λ γ = ρ γ λ γ sin(ϕ + ψ) c 2 = λ ( γ, ρ γ = ρ γ λ γ sin(ϕ + ψ ) c 1 = 1 2 ρ γ, λ ) γ λ γ, ρ γ = (152) ( ) ρ γ λ γ sin(ϕ ψ) ρ γ λ γ sin(ϕ ψ ) 1 2

135 D Proofs 28 Using the standard trigonometric formulas and Equation 151, it is possible to rewrite 2χc 1 in the form which clearly shows that Auxiliary Lemma 4 is satisfied 2χc 1 = χ ρ γ λ γ (sinϕ cosψ sinψ cosϕ ) χ ρ γ λ γ (sinϕ cosψ sinψ cosϕ) = ρ γ λ γ (sinϕ cosψ + sinψ cosϕ) χ 2 ρ γ λ γ (sinψ cosϕ + sinϕ cosψ ) = c 0 + χ 2 c 2 (153) Auxiliary Lemma 4 Proof of Lemma 11 (1) It should be shown that the direction of every mesh edge is defined mostly one connected component of the D-dependency graph (by mostly one D-dependency tree). A mesh edge ẽ is directed if it is an edge of the spanning tree of some connected component C of the D-dependency graph or if it corresponds to a dangling half-edge of the root vertex of C. In the first case the direction of ẽ is obviously uniquely defined, because ẽ connects two vertices of the same component and can not be influenced by any other component. In the second case ẽ clearly could not be an edge of the spanning tree of some other component C (otherwise it would connect two vertices of C ). The only situation when component C may affect the orientation of ẽ is the situation when ẽ also corresponds to a dangling half-edge of the root vertex of C. But it is impossible because in this case roots of C and C should belong to the same connected component of the D-dependency graph due to the connection by ẽ. (2) On the contrary, let some vertex Ṽ use the D-type control point of directed edge ẽ = (Ṽ, Ṽ ) and let Ṽ belong to D-dependency tree T while ẽ belongs to D-dependency tree T. The only situation when directed edge ẽ does not belong to the same D-dependency tree as its vertex Ṽ is the situation when Ṽ is the root vertex of T and ẽ corresponds to a dangling half-edge of Ṽ. Then according to the definition of the dangling half-edge it means that Ṽ does not use the D-type control point of ẽ, which leads to a contradiction with the assumption. (3) The third statement of Lemma 11 is an obvious result of Algorithms 2 and 3 for the construction of the D-dependency graph and of the D-dependency forest. Lemma 11 Proof of Theorem 6 Let C be a connected component of the D-dependency graph. The only type of primary vertices which may belong to the component is the inner even vertices, excluding regular 4-regular vertices, because no other vertex uses any D-type control points according to the assumption of theorem. Let R be the

136 D Proofs 29 rightmost (geometrically) primary vertex which belongs to C or the lowest rightmost vertex in case of ambiguity. It will be shown that R has at least one dangling half-edge. Let r be a vertical line which passes through R. Then in the initial mesh there exist edges ( R, Ṽ (1) ),..., ( R, Ṽ (k) ) (k 1) which lie strictly on the right from r or at the lower half of r (see Figure 54(a)). Indeed, R is an inner vertex and so it is surrounded by domain Ω. If all mesh edges adjacent to R lie on the left of r or on the upper half of r, there should exist a quadrilateral mesh element with inner angle π, which contradicts the strict convexity of mesh elements (see Figure 54(b)). Edges ( R, Ṽ (1) ),..., ( R, Ṽ (k) ) do not belong to the D-dependency graph, otherwise vertices Ṽ (1),..., Ṽ (k) would belong to C, which contradicts the fact that R is the lowest rightmost primary vertex of C. It means that for every one of edges ( R, Ṽ (j) ) (j = 1,..., k) at least one of its vertices does not use the D-type control point D (j) corresponding to the edge. The purpose is to show, that R uses the D-type control point of at least one of these edges; in this case R and the secondary vertex of this edge form a dangling half-edge. On the contrary, let R do not use any D (j) (j = 1,..., k). Let k = 1 and R does not use D (1). Then in the initial mesh ( R, W (1) ) and ( R, W (2) ) - two neighboring edges of ( R, Ṽ (1) ) - should be colinear (see Figure 54(c)). In this case one of the vertices W (1), W (2) lies strictly on the right from r or on the lower half of r, which contradicts the assumption that k = 1. Let k 3. Then angle Ṽ (1) RṼ (k) < π (see Figure 54(d)) and for any j = 2,..., k 1 the D-type control point of ( R, Ṽ (j) ) should participate in the Circular Constraint of the vertex R with a non-zero coefficient. It means that R uses D (j) for j = 2,..., k 1. The last case is k = 2. If R does not use D-type control points of both ( R, Ṽ ((1) ) and ( R, Ṽ (2) ), then in the initial mesh there should exist two such pairs of colinear edges that the edges form a continuous sequence with respect to the order of edges around R. For example in Figure 54(e), Ṽ (1), R, W (1) and Ṽ (2), R, W (2) are triples of the colinear points, and edges ( R, W (2) ), ( R, Ṽ (1) ), ( R, Ṽ (2) ), ( R, W (1) ) follow one another in the counter-clockwise order around R. If deg(r) = 4, then R should be a regular 4-vertex, which contradicts the fact that R belongs to the D-dependency graph. If deg(r) 6 then the arrangement of edges adjacent to R contradicts the Uniform Edge Distribution Condition which is assumed to be satisfied. Theorem 6 Proof of Theorem 7 Let B (n) V,E type, B(n) D,T type, B(n) middle denote respectively the number of basic control points of V,E-type, D,T -type and of the middle control points which participate in G 1 -continuity conditions. Then (n) B G = B(n) V,E type + B(n) D,T type + B(n) middle (154)

137 D Proofs 30 Clearly, for any n B (n) V,E type = 3 V ert non corner (155) In addition, the following useful equality always holds Ṽ non corner val(v ) = 2 [ Edge inner + V ert boundary non corner ] (156) Let n 5. Then local templates for classification of D,T -type control points never intersect and the number of basic D,T -type control points adjacent to a non-corner vertex Ṽ is equal to val(v ) + 1 for inner regular 4-vertices, to 2 = val(v ) 1 for boundary vertices and to val(v ) for the rest of vertices. Therefore B (n) D,T type = According to Theorem 5, B (n) Ṽ non corner val(v ) + V ert middle = (2n 9) Edge inner + Edge inner 4 regular V ert boundary (157) non corner inner, P rojections Relation holds (158) (n) Equations 155, 157, 158 and 156 allow to conclude that the formula for B G, given in Theorem 7, is correct for n 5. Let now n = 4. Then, according to Theorem 5, B (4) middle = Edge inner, P rojections Relation holds (159) The number of basic D-type and T -type control points can be computed as (4) follows. The total number of D-type control points which belong to B G is equal to Edge inner. One dependent D-type control point is assigned to every D-relevant vertex. Therefore B (4) D type = Edge inner V ert inner, even, V ert boundary (160) not 4 regular D relevant The number of basic T -type control points is given by B (4) T type = V ert inner, even, not 4 regular V ert boundary, non corner, not D relevant + V ert inner, even, + 4 regular + 2 V ert boundary D relevant (161) Therefore the number of D-type and T -type basic control point together do not depend on the presence of the boundary D-relevant vertices and can be computed by the formula B (4) D,T type = Edge inner V ert inner 4 regular V ert boundary (162) non corner

138 D Proofs 31 From Equations 155, 157, 158 it follows that (4) B G = 3 V ert non corner + V ert boundary + Edge inner + non corner V ert inner 4 regular + Edge inner, P rojections Relation holds (163) The last expression fits the general formula (Equation 52) for n = 4. Theorem 7 Proof of Lemma 16 Lemma 16 has a very simple formal proof. If max deg(l, r) = 2 then the statement of the Lemma is evidently satisfied because deg(c) 4. If max deg(l, r) = 1 then l (power) 2 = ρ (power) 2, γ γ = 0 and r (power) 2 = λ (power) 2, γ (power) γ = 0. It means that vectors λ 2, ρ (power) 2, γ γ are parallel and so c (power) 4 = λ (power) 2, ρ (power) 2 = 0. If max deg(l, r) = 0 then in the same manner as in the previous case, one sees that vectors c (power) 4 = c (power) 3 = 0. Lemma 16 λ (power) 1, ρ (power) 1, λ (power) 2, ρ (power) 2, γ γ are parallel and so Proof of Lemma 19 The system of n + 4 linear equations given in Lemma 18 has the following representation in terms of sumlr s and sumc s (see Definition 20) sumlr s + sumlr s 1 + sumc s = 0 (164) where s = 0,..., n + 3. Expressing recursively sumlr s 1 from the previous equations for s = 0,..., n+ 2 and leaving equation for s = n + 3 unchanged, one gets an equivalent system (s = 0) sumlr 0 = sumc 0 (s = 1) sumlr 1 = sumlr 0 sumc 1 = sumc 0 sumc 1. (s = n + 2) sumlr n+2 = ( 1) n+3 n+2 k=0 ( 1)sumC k (s = n + 3) sumlr n+2 = sumc n+3 (165) For s = 0,..., n+2, the equation has precisely the form of the indexed equation Eq(s) and it remains to note that the last couple of equations is equivalent to the couple Eq(n+2) and sumc-equation. Lemma 19 Proof of Lemma 21

139 D Proofs 32 According to Lemma 17, statements of Lemma 21 clearly hold for an inner vertex which has no adjacent edges with one boundary vertex. Moreover, Eq(0) -type and Eq(1) -type equations remain unchanged for any edge with two inner vertices It remains to consider equations Eq(0) and Eq(1) of an edge with one boundary vertex, applied at the inner vertex of the edge. Π (bicubic) In order to distinguish between the case of Π (bilinear) and the case of global in-plane parametrisations, superscripts (bilinear) and (bicubic) are added to coefficients of the weight functions and to the indexed equations. It is easy to verify (see Equations 29, 98, 99) that l (bicubic) 0 = l0 bilinear l (bicubic) 1 = 1 2 (l(bilinear) 0 + l (bilinear) 1 ) r (bicubic) 0 = r (bilinear) 0 r (bicubic) 1 = 1 2 (r(bilinear) 0 + r (bilinear) 1 ) c (bicubic) 0 = l (bilinear) 0 c (bicubic) 1 = 1 2 (c(bilinear) 0 + c (bilinear) 1 ) (166) (1) Eq(0) (bicubic) involves only zero-indexed coefficients of the weight functions, which are equal for global in-plane parametrisations Π (bilinear) and. Π (bicubic) (2) From Equation 166 and formulas for Eq(0) and Eq(1) in the case of bilinear and in the case of bicubic in-plane parametrisations (see Equations 31, 35 and 63) it follows that Eq(0) (bicubic) = Eq(0) (bilinear) Eq(1) (bicubic) = Eq(0) (bilinear) + Eq(1) (bilinear) Therefore systems of equations Eq(0), Eq(1) are equivalent for and Π(bicubic) in-plane parametrisations. (167) Π (bilinear) Lemma 21 Proof of Theorem 8 and Theorem 9 General approach to the proof. By definition, the Middle system of equations consists of the sumc-equation and the Restricted Middle system of indexed equations. sumc-equation involves the central middle control points alone, while every one of the indexed equations Eq(s) involves both the central and the side middle control points. One of the basic concepts of the proof is the assumption that the central middle control points are classified prior to and independently of classification of the side middle control points. The classification of the central middle control points is assumed to be made is such a manner that sumc-equation (and some additional requirements explained below) are satisfied. The assumption allows to consider the side middle control points as the only variables of the Restricted Middle system, while the central middle control points participate in the system as components of the right-side coefficients. A consistency analysis of the Restricted Middle system establishes some requirements

140 D Proofs 33 which should be satisfied by the right-side coefficients of the system. The analysis leads to the necessary and sufficient conditions formulated in Theorem 8, which define additional requirements to the classification of the central middle control points. Note, that according to this approach, responsibilities of the central and the side middle control points are shared in the following manner. The central middle control points are responsible for the satisfaction of sumcequation as well as for the consistency of the Restricted Middle system of equations, while the classification of the side middle control points reflects the rank analysis of the Restricted Middle system. Structure of the Restricted Middle system of equations. As it was mentioned above, the proof starts with the consistency and rank analysis of the Restricted Middle system of equations. Similarly to the case of global bilinear in-plane parametrisation Π (bilinear), let A be matrix of the full system of linearized G 1 -continuity equations excluding sumc-equation in terms of differences L t, R t t = 0,..., n and let b s (s = 0,..., n + 2) be the right-side coefficients of the system. In other words, matrix A and vector b correspond to the system of n + 3 indexed equations Eq(s) s = 0,..., n + 2 A L 0 R 0. L n R n = b 0. b n+2 (168) According to Lemma 19, A contains coefficients of L t, R t (t = 0,..., n) in expressions for sumlr s (see Definition 20) and b s = ( 1) s+1 for s = 0,..., n + 2. s ( 1) k sumc k (169) k=0 Assumptions of Theorems 8 and 9 mean that Equations Eq(s) for s = 0, s = 1, s = n + 1 for n 4 and equation Eq(n +2) for s 5 are satisfied. All control points that contribute to differences L t, R t for t = 0, 1, n 1 for n 4 and for t = n for n 5 are classified. Let  denote matrix of the Restricted Middle system of equations in terms of differences L t, R t (t = 2,..., n 2),  s (s = 2,..., n ) denotes a row of the matrix  and let ˆb s (s = 2,..., n ) be the right-side coefficients of the system. Matrix  is a (n 1) 2(n 3) submatrix of matrix A composed of rows A s

141 D Proofs 34 for s = 2,..., n and columns corresponding to L 2, R 2,..., L n 2, R n 2. Matrix  has the following form L 2 R 2 L 3 R 3... L n 3 R n 3 L n 2 R n 2 s=2 ( n 2 )l0 (n 2 )r s=3 2( n 2 )l1 2(n 2 )r1 (n 3 )l0 (n 3 )r s=4 ( n 2 )l2 (n 2 )r2 2(n 3 )l1 2(n 3 )r s=5 0 0 ( n 3 )l2 (n 3 )r s=n ( n n -3 )l0 s=n ( n n -3 )l1 s=n ( n n -3 )l ( n n -3 )r ( n n -3 )r1 ( n n -2 )l0 ( n n -3 )r2 2( n n -2 )l1 s=n ( n n -2 )l2 Right-side coefficients ˆb s (s = 2,..., n ) are given by the next formula ( n n -2 )r0 2( n n -2 )r1 ( n n -2 )r2 (170) [( ˆb2 = b 2 n 0) ˆb3 = b 3 ( l 2 L 0 + n 0) [( n 1) l 2 L 1 + ( r 2 R n 1) ( n 1) r 2 R 1 ] ˆbs = b s for s = 4, [(..., ) n 2 ( ) ] ˆbn 1 = b n 1 n l n -1 0 L n 1 + n r n -1 0 R n 1 [ ( ) ( ) ˆbn =b n 2 n l n n -1 1 L n 1+2 r n -1 1 R n 1+ ( ] l 1 L n 1) r 1 R 1 ( n n ) l 0 L n + ( ] n n ) r 0 R n (171) For example, for n = 4 and n = 5, matrix A has the explicit form given below, where the last row and two last columns are relevant only in the case of n = 5 (the row and column are separated by single lines). L 0 R 0 L 1 R 1 L 2 R 2 L 3 R 3 L 4 R 4 L 5 R 5 s = 0 ( n 0 )l0 (n 0 )r s = 1 2( n 0 )l1 2(n 0 )r1 (n 1 )l0 (n 1 )r s = 2 ( n 0 )l2 (n 0 )r2 2(n 1 )l1 2(n 1 )r1 (n 2 )l0 (n 2 )r s = ( n 1 )l2 (n 1 )r2 2(n 2 )l1 2(n 2 )r1 (n 3 )l0 (n 3 )r s = ( n 2 )l2 (n 2 )r2 2(n 3 )l1 2(n 3 )r1 (n 4 )l0 (n 4 )r0 0 0 s = ( n 3 )l2 (n 3 )r2 2(n 4 )l1 2(n 4 )r1 (n 5 )l0 (n 5 )r0 s = ( n 4 )l2 (n 4 )r2 2(n 5 )l1 2(n 5 )r1 s = ( n 5 )l2 (n 5 )r2 For both n = 4 and n = 5 matrix  is a middle 4 4 submatrix of A, composed of rows s = 2, 3, 4, 5 and columns corresponding to L 2, R 2, L 3, R 3 ( is separated by double lines). The possible types of dependencies between coefficients of conventional weight functions l(v) and r(v). As shown in the previous paragraph, matrix  contains coefficients of conventional weight functions l(v) and r(v). Different types of dependencies between coefficients of the weight functions lead to the different consistency and rank analysis of the Restricted Middle system of equations. Definition 25 presents a refinement of the possible types of dependencies listed in Theorem 9. Subdivision into these subcases and auxiliary

142 D Proofs 35 notations given in the Definition are justified by the series of the following Auxiliary Lemmas. Definition 25: Let conventional weight functions l(v) and r(v) be defined by global in-plane parametrisation Π (bicubic). Then for an edge with one boundary vertex, the following types of dependencies between coefficients of the weight functions l(v) and r(v) will be considered (here g (ij), i, j {0, 1, 2} are given by Definition 22) CASE 0 complement of CASE 1 and CASE 2 CASE 1 g (01) g (12) g (02) 0, { g (02)} 2 = 4g (01) g (12) In this case it is possible to define such a scalar value χ that χ = 2g(01) g (02) = g(02) 2g (12) (172) The following two subcases are defined CASE 2 CASE 1.a χ 1 CASE 1.b χ = 1 g (01) = g (12) = g (02) = 0 In this case it is possible to define such scalars χ (ij) (i, j {0, 1, 2}) that χ (ij) = l i l j = r i r j (173) The special notations are used for χ (02) and χ (12) ξ = χ (02), η = χ (12) (174) and matrix G is defined as follows ( ) ξ 2ηξ G = 2η 4η 2 ξ CASE 2.1 η 2 ξ In this case G has two different eigenvalues ω 1 and ω 2 CASE 2.1.a ω1 = η + η 2 ξ 1 and ω2 = η η 2 ξ 1 (175) (176) CASE 2.1.b ω 1 = 1 or ω 2 = 1 CASE 2.2 η 2 = ξ In this case G has a single eigenvalue ω CASE 2.2.a ω = η 1 CASE 2.2.b ω = 1

143 D Proofs 36 Explanation regarding the subdivision into the basic cases CASE 0, CASE 1 and CASE 2. Both proof of the consistency and the rank analysis of Restricted Middle system deal with zero non-trivial linear combinations of rows. Auxiliary Lemma 5 provides necessary and sufficient conditions for the existence of such a linear combination and describes the structure of the set of its coefficients. Subdivision into three basic cases CASE 0, CASE 1, CASE 2 directly follows from the classification given in the Auxiliary Lemma. Auxiliary Lemma 5: A non-trivial combination of the rows of matrix  is equal to zero α s  s = 0 (177) n s=2 if and only if either one of the following conditions holds (1) Conditions of CASE 1 are satisfied and Coefficients of the linear combination obey the recursive relation α s+1 = χα s, s = 2,..., n 1 (178) (2) Conditions of CASE 2 are satisfied and Coefficients of the linear combination obey the recursive relation α s+2 = ξα s 2ηα s+1, s = 2,..., n 2 (179) Proof See Appendix, after proof of Theorem 8 and Theorem 9. Conclusion 3: Auxiliary Lemma 5 implies that the rank and consistency of the Restricted Middle system of equations depend in the following way on the subdivision in the basic cases CASE 0 Matrix  has the full row rank, rank(â) = n 1. The Restricted Middle system is consistent. CASE 1 Matrix  has row rank deficiency 1, rank(â) = n 2. The Restricted Middle system is consistent if and only if for any set of coefficients {α a } n s=2 which satisfy Equation 178, the corresponding linear combination of the right sides is equal to zero n s=2 α sˆb s = 0. CASE 2 Matrix  has row rank deficiency 2, rank(â) = n 3. The Restricted Middle system is consistent if and only if for any set of coefficients {α a } n s=2 which satisfy Equation 179, the corresponding linear combination of the right sides is equal to zero n s=2 α sˆb s = 0.

144 D Proofs 37 Conclusion 3 allows to study the necessary and sufficient conditions for the consistency of the Restricted Middle system in terms of right-side coefficients, or in other words, in terms of the central middle control points. Before proceeding with the consistency analysis, let us give some additional explanations concerning subdivision of CASE 2, which has the most complicated structure. Explanation regarding the subdivision of CASE 2 into CASE 2.1 and CASE 2.2. Auxiliary Lemma 6 justifies the definition of matrix G introduced in Equation 175. Auxiliary Lemma 6: Let conditions of CASE 2 be satisfied and let matrix G be defined by Equation 175. Let further {α s } n s=2 be coefficients of a non-trivial zero combination of rows n s=2 α sâs = 0. Then dependency of the coefficients has the following matrix form (α s+2, α s+3 ) = (α s, α s+1 )G (180) for s = 2,..., n 3. Proof Auxiliary Lemma 6 immediately follows from Equation 179 given in Auxiliary Lemma 5. Auxiliary Lemma 6 Auxiliary Lemma 7 describes the Jordan form of matrix G. The Jordan form appears to play an important role in the consistency analysis and explains the subdivision of CASE 2 into subcases CASE 2.1 and CASE 2.2. Auxiliary Lemma 7: Let the conditions of CASE 2 be satisfied. Then the matrix G (see Equation 175) has the following eigenvalues, eigenvectors and Jordan form CASE 2.1 Matrix G has two different eigenvalues ω 1,2 = ξ + 2η(η ± η 2 ξ) (181) which correspond to the eigenvectors ( v 1,2 = ξ η ± η 2 ξ ) ( = ) ξ ω1,2 (182) and G can be represented in the form ( ) ω1 0 G = (v 1 v 2 ) (v 0 ω 1 v 2 ) 1 (183) 2

145 D Proofs 38 CASE 2.2 Matrix G has a single eigenvalue ω = η 2 (184) which corresponds to the eigenvector ( ) η 2 v = = η ( ) ω ω (185) and G can be represented in the form ( ω 1 G = (v u) 0 ω ) (v u) 1 (186) where u = 1 4 ( 1 1 η ) (187) Auxiliary Lemma 7 has a completely straightforward proof, which is not presented in the current work. The next two paragraphs, which are directly connected to the consistency analysis of the Restricted Middle system, provide the additional explanations for subdivision into subcases CASE 0, CASE 1, CASE 2.1 and CASE 2.2. According to Conclusion 3, the Restricted Middle system of equations is known to be consistent in CASE 0, therefore it is sufficient to analyse the consistency in CASE 1 and CASE 2. Some special relations the for coefficients of conventional weight function c(v). It appears, that the coefficients of the conventional weight function c(v) satisfy some special relations, which involve constant χ in CASE 1 and eigenvalues of the matrix G in CASE 2. These relations are very useful for the consistency analysis of the Restricted Middle system. Auxiliary Lemma 8: Let conventional weight function c(v) be defined by global in-plane parametrisation Π (bicubic). Then for an edge with one boundary vertex, coefficients of the weight function satisfy the following relations CASE 1 4 k=0 CASE 2.1 ( ) χ k 4 c k k = 0 (188) 4 ( ) ( k 4 ω1,2 k k=0 ) c k = 0 (189)

146 D Proofs 39 CASE ( ) ( k ω 4 k k=0 4 ( ) ( k ω k 4 k k=0 ) c k = 0 (190) ) c k = 0 (191) Proof See Appendix, after proof of Theorem 8 and Theorem 9. Necessary and sufficient conditions for the consistency of the Restricted Middle system of equations in terms of b s. The purpose of the paragraph is to formulate the necessary and sufficient conditions for the consistency of the Restricted Middle system of equations in terms of the right-side coefficients of the full system of the indexed equations (see Equations 168 and 169). The next three paragraphs describe the relations between these conditions and the actual degrees of the weight functions and finally explain the rules of classification of the control point C n 2. Auxiliary Lemma 9 allows to rewrite a zero linear combination of the rightside coefficients of the Restricted Middle system in terms of the right-side coefficients of the full system of the indexed equations. Auxiliary Lemma 9: Let global in-plane parametrisation Π (bicubic) be considered and for an edge with one boundary vertex, let all non-middle control points be classified and equations sumc-equation, Eq(s) for s = 0, 1, n + 1 and Eq(n +2) in case of n 5 be satisfied. Let {α s } n s=2 be coefficients of a non-trivial zero linear combination of rows of the Restricted Middle system of equations n s=2 α sâs = 0. Then the corresponding linear combination of the right-side coefficients of the Restricted Middle system of equations has the following representation in terms of the right-side coefficients of the full system of the indexed equations CASE 1 n+2 α sˆbs = α 0 χ s b s (192) n s=2 s=0 where by the definition α 0 = χ 2 α 2 (193) CASE 2 n s=2 n /2 ( α sˆbs = (α 0 α 1 ) G s s=0 b2s b 2s+1 ) (194)

147 D Proofs 40 where by the definition (α 0 α 1 ) = (α 2 α 3 )G 1 (195) and b n +2 = b 7 = 0 in case of n = 4. Proof See Appendix, after proof of Theorem 8 and Theorem 9. Auxiliary Lemma 10 provides an elegant necessary and sufficient conditions for the consistency of the Restricted Middle system of equations in terms of the right-side coefficients of the full system of the indexed equations. Auxiliary Lemma 10: Let global in-plane parametrisation Π (bicubic) be considered and for an edge with one boundary vertex, let all non-middle control points be classified and equations sumc-equation, Eq(s) for s = 0, 1, n + 1 and Eq(n +2) in case of n 5 be satisfied. Then the Restricted Middle system of equations is consistent if and only if the following conditions hold CASE 1 n+2 χ s b s = 0 (196) s=0 CASE 2.1 n+2 ( ω 1,2 ) s b s = 0 (197) s=0 CASE 2.2 n+2 ( ω) s b s = 0 (198) s=0 n+2 ( ω) s 1 s b s = 0 (199) s=0 Proof See Appendix, after proof of Theorem 8 and Theorem 9. Relations between linear combinations of b s and coefficients of the conventional weight function c(v). In the current paragraph, the linear combinations of the right-sides coefficients, described in Auxiliary Lemma 10, are expanded using the explicit formula for b s (see Equations 169 and 131). Straightforward Auxiliary Lemma 11 describes relation between the linear combinations and coefficients of the weight function c(v) with respect to the power basis. The Auxiliary Lemma finally justifies the fine subdivision into subcases indexed by letters (a) and (b) (see Definition 25) and makes the first step towards explanation of the classification rule for the control point C n 2 (see Lemma 23).

148 D Proofs 41 Auxiliary Lemma 11: For a scalar value φ the following relations hold ] sumc equation [ ( φ)n+3 1+φ + [ n 1 1 ( ) ] [ ] 1+φ φ i n-1 4 ( ) C i i φ j 4 c j j if φ 1 n+2 i=0 j=0 φ s b s = sumc equation [ (n + 3)]+ s=0 [ n 1 ( ) ] ( 1) i i n-1 C i i c (power) 4 + i=0 [ ] C equation 4c (power) 4 + c (power) 3 if φ = 1 n+2 sφ s 1 b s = s=0 [ ] sumc equation ( φ) n+2 (n+3) ( φ) n+3 (n+2) (1+φ) + [ 2 n 1 1 ( ) ( ) ] [ 1+φ (1+φ) 2 φ i 1 φ i n-1 4 ( C i i φ j 4 j i=0 1 1+φ [ n 1 ( ) ] [ φ i n-1 4 C i i i=0 j=0 φ j j ] ( ) 4 c j j j=0 ) c j ] + if φ 1 (200) sumc equation [ (201) 1 [ 2 (n + 2)(n + 3)] n 1 ( ) ] [ ] ( 1) i (i 1)i n-1 1 C i i 2 c(power) 4 [ i=0 n 1 ( ) ] [ ] ( 1) i i n-1 C i i 4c (power) 4 + c (power) 3 i=0 [ ] C equation 6c (power) 4 +3c (power) 3 +c (power) 2 if φ = 1 Of course, this technically complicated Auxiliary Lemma becomes much more simple and meaningful if it is applied to φ = χ, ω 1,2, ω and if one uses the special relations between the coefficients of the weight function c(v) given in Auxiliary Lemma 8 and assumes that sumc-equation is satisfied. Further simplification of Auxiliary Lemma 11 is based on some properties of the actual degrees of the weight functions, described in the next paragraph. Actual degrees of the weight functions. It appears that the division into the refined cases given in Definition 25 is closely connected to the actual degrees of conventional weight functions. Auxiliary Lemma 12: Let the conventional weight functions l(v), r(v) be defined by the global in-plane parametrisation Π (bicubic). Then for an edge with one boundary vertex, the maximal actual degree of the weight functions obeys the following equality: max deg(l, r) = 2 in CASE 0, CASE 1.a, CASE 2.1.a, CASE 2.2.a 1 in CASE 1.b, CASE 2.1.b 0 in CASE 2.2.b (202)

149 D Proofs 42 Proof See Appendix, after proof of Theorem 8 and Theorem 9. Auxiliary Lemma 12 together with Lemma 16 lead to the next Conclusion. Conclusion 4: Let the conventional weight function c(v) be defined by the global in-plane parametrisation Π (bicubic). Then for an edge with one boundary vertex, the actual degree of the weight function c(v) satisfies the following inequalities 3 in CASE 1.b, deg(c) CASE 2.1.b (203) 2 in CASE 2.2.b Necessary and sufficient conditions for the consistency of the Middle system of equations in terms of C-equation and coefficients of conventional weight function c(v) with respect to the power basis. Auxiliary Lemmas 10, 11, 8, 12 and Conclusion 4 lead to a simple form of necessary and sufficient conditions for the consistency of the Middle system. Auxiliary Lemma 13: Consider the in-plane parametrisation Π (bicubic) and for an edge with one boundary vertex, let all non-middle control points be classified and equations Eq(s) for s = 0, 1, n + 1 and Eq(n +2) in case of n 5 be satisfied. Then the Middle system of equations is consistent if and only if: C equation c (power) 4 = 0 (204) in the case when max deg(l, r) = 2 C equation c (power) 3 = 0 (205) in the case when max deg(l, r) = 1 C equation c (power) 2 = 0 (206) in the case when max deg(l, r) = 0 Proof See Appendix, after proof of Theorem 8 and Theorem 9. Results of Auxiliary Lemma 13 finally allow to complete the proof of Theorem 8 and Theorem 9. Proof of Theorem 8 The paragraph presents proof of both statements of Theorem 8. (1) According to Lemma 20, it is sufficient to show that sumc-equation is satisfied in the case when deg(c) = 4. From the fact that deg(l), deg(r) 2 and Lemma 16 it follows that in this case max deg(l, r) = 2 and deg(c) max deg(l, r) = 2. The assumption of Theorem 8 implies that C-equation is satisfied. According to Lemma 20, it means that sumc-equation is satisfied. (2) The second statement of Theorem 8 immediately follows from Auxiliary Lemma 13. Indeed, let max deg(l, r) = 2. In this case Equation 204 provides

150 D Proofs 43 a necessary and sufficient condition for the consistency of the Middle system. Equation 204 is satisfied if and only if either deg(c) 3 or deg(c) = 4 and C-equation is satisfied. In other words, the satisfaction of C-equation in the case when deg(c) max deg(l, r) = 2 is a necessary and sufficient condition for the satisfaction of Equation 204 and so for the consistency of the Middle system of equations. Similar analysis of cases when max deg(l, r) = 1 and when max deg(l, r) = 0 completes the proof of the second statement of Theorem 8. Proof of Theorem 9 The rank analysis presented in Theorem 9 directly follows from Conclusion 3 and from the fact that classification of the control points C t (t = 3,..., n 2) according to Lemma 23 guarantees the consistency of the Restricted Middle system. Like in the case of global bilinear in-plane parametrisation Π (bilinear), the correctness of classification of the control points (L t, R t ) (t = 2,..., n 2) into basic and dependent ones can be easily verified by application of the Gauss elimination process to the matrix of the Restricted Middle system. Theorem 8 and Theorem 9 Proof of Auxiliary Lemma 5 Let α 2,..., α n be coefficients of a non-trivial linear combination of rows n s=2 α sâs. The linear combination is equal to zero if and only if the coefficient of every one of L s, R s (s = 2,..., n 2) is equal to zero. In other words, it means that the linear combination is equal to zero if and only if the following system of equations is satisfied ( L s ) α s l 0 + 2α s+1 l 1 + α s+2 l 2 = 0 ( R s ) α s r 0 + 2α s+1 r 1 + α s+2 r 2 = 0 (207) where s = 2,..., n 2. First, it will be shown that the satisfaction of either one of the conditions (1) or (2) of the Auxiliary Lemma is necessary for the satisfaction of the last system of equations. Using the fact that l 0, r 0 0 (l 2, r 2 0), one can express α s (α s+2 ) independently of the equation corresponding to L s and the equation corresponding to R s (see Equation 207). Equality of the expressions for α s (α s+2 ) leads to the conclusion that the following relations should be satisfied for s = 2,..., n 2 2α s+1 g (01) + α s+2 g (02) = 0 (208) α s g (02) + 2α s+1 g (12) = 0 (209) The following two cases are possible If g (02) 0 then g (01) 0, g (12) 0. On the contrary, let g (01) = 0. Then according to Equation 208, α s = 0 for s = 4,..., n. In addition, from formulas for coefficients

151 D Proofs 44 of L 2 and L 3 it follows that α 2 = 0 and α 3 = 0. It means that equality g (01) = 0 leads to a trivial linear combination which contradicts the assumption of Auxiliary Lemma 5. In a similar manner it can be shown that g (12) 0. { g (02)} 2 = 4g (01) g (12). The equality immediately follows from plugging in s = 2 into Equation 208 and s = 3 into Equation 209 for s = 3. α s+1 = χα s for s = 2,..., n 1, as follows from considering Equation 208 for s = n 2 and Equation 209 for s = 2,..., n 2. It means that condition (1) of Auxiliary Lemma 5 is satisfied. If g (02) = 0 then g (01) = 0, g (12) = 0. On the contrary, let g (01) 0. Then according to Equation 208, α s = 0 for s = 3,..., n 1. From formulas for coefficients of L 2 and L n 2 it follows that α 2 = 0 and α n = 0. It means that one gets a trivial linear combination, which contradicts the assumption of Auxiliary Lemma 5. In a similar manner it can be shown that g (12) = 0. α s+2 = ξα s 2ηα s+1, as it immediately follows from definitions of ξ, η and Equation 207. (Equality g (01) = g (12) = g (02) = 0 implies that coefficients of L s, R s given in Equation 207 are described by the proportional expressions.) It means that condition (2) of Auxiliary Lemma 5 is satisfied. Sufficiency of condition (1) in CASE 1 and condition (2) in CASE 2 is evident since the recursive formulas for coefficients of the linear combination (see Equations 178 and 179) clearly implies that Equation 207 is satisfied. Auxiliary Lemma 5 Proof of Auxiliary Lemma 8 CASE 1 The proof is based on representation of coefficients of the weight function c(v) given in Equation 56. This representation implies that 4 ( ) χ k c 4 2 ( k k = χ i λi 2 i k=0 i=0 ), 2 ( χ j ρ 2 j j j=0 ) (210) In order to prove that Equation 188 holds, it is sufficient to show that two vectors that participate in the last expression are parallel. According to Equation 207, coefficients of the weight functions r(v) and l(v) satisfy the following relations ( ) 2 i=0 r iχ i 2 i = 0, ( ) 2 j=0 l jχ j 2 (211) j = 0

152 D Proofs 45 Using formulas r i = λ i, γ γ and l j = ρ j, γ γ, i, j = 0, 1, 2 (see Equation 55), one gets 0 = ( ) 2 i=0 χi λ 2 i i, γ γ 0 = ( ) 2 j=0 χj ρ 2 j j, γ γ The last couple of equations means that vectors ( ) 2 i=0 χi λ 2 i i and ( ) 2 j=0 χj ρ 2 j j are parallel to γ γ and to each other. (212) CASE 2 It will be shown first that the following two equations hold ηc 0 2ξc 1 + 2ξ 2 c 3 ξ 2 ηc 4 = 0 (213) 1 ξ 2 (ξ 2η2 )c ξ ηc 1 6c 2 + 4ηc 3 + (ξ 2η 2 )c 4 = 0 (214) Like in the previous case, the proof uses expressions for coefficients of the weight function c(v) in terms of the partial derivatives of in-plane parametrisations for the left and the right elements (see Equation 56). Let α i be the angle between γ γ and λ j and β j be the angle between ρ j and γ γ (both angles are measured in the counter clockwise direction). Then l j = ρ j, γ γ = ρ j γ γ sinβ j r i = γ γ, λ i >= λ i γ γ sinα i λ i, ρ j = λ i ρ j sin(α i + β j ) (215) Proof of Equation 213 makes use of two different representations of λ 1, ρ 1. First, λ 1, ρ 1 may be represented as follows λ 1, ρ ( 1 = λ 1 ρ 1 (sinα 1 cosβ 1 + cosα 1 sinβ 1 ) = ) χ (10) λ 0 ρ 1 sinα 0 cosβ 1 + λ 1 ρ 0 cosα 1 sinβ 0 = ( χ (10) λ 0, ρ 1 + λ 1, ρ 0 λ 0 ρ 1 cosα 0 sinβ 1 λ 1 ρ 0 sinα 1 cosβ 0 )= ) χ (2c (10) 1 χ (10) λ 0, ρ 0 = χ (10) (2c 1 χ (10) c 0 ) (216) In the same manner, it can be shown that λ 1, ρ 1 = χ (12) (2c 3 χ (12) c 4 ) (217) Equations 217 and 217 imply that χ (10) (2c 1 χ (10) c 0 ) = χ (12) (2c 3 χ (12) c 4 ) (218) Substitution of χ (10) = η ξ and χ(12) = η in the last equation completes the proof of Equation 213.

153 D Proofs 46 Equation 214 is proven in a similar manner. Coefficient c 2 of the weight function c(v) has the following representation (see Equation 56) Here c 2 = 1 6 ( ) λ 0, ρ λ 1, ρ 1 + λ 2, ρ 0 λ 0, ρ 2 + λ 2, ρ 0 = λ 0 ρ 2 (sinα 0 cosβ 2 + cosα 0 sinβ 2 )+ λ 2 ρ 0 (sinα 2 cosβ 0 + cosα 2 sinβ 0 ) = χ (02) λ 2, ρ 2 + χ (20) (219) λ 0, ρ 0 = χ (02) c 4 + χ (20) c 0 4 λ 1, ρ 1 = 2χ (10) (2c 1 χ (10) c 0 ) + 2χ (12) (2c 3 χ (12) c 4 ) (220) It means that [( c 2 = 1 6 χ (20) 2 [ χ (10)] ) 2 c 0 +4χ (10) c 1 + 4χ (12) c 3 + (χ (02) 2 [ χ (12)] ) ] 2 c 4 (221) Substitution of χ (20) = 1 ξ, χ(10) = η ξ, χ(02) = ξ, χ (12) = η in the last formula completes the proof of Equation 214. Now it is easy to prove that Equations 189, 190 and 191 are satisfied. CASE 2.1 Note, that ω 1 ω 2 = ξ 2 0 and so in order to prove that Equation 189 is satisfied for ω 1 and ω 2, it is sufficient to prove the equality 1 4 ω 1 k=0 ( ω 1 ) k ( 4 k ) c k ± 1 ω 2 4 k=0 ( ( ) ω 2 ) k 4 k c k = 0 (222) Using the formulas for ω 1,2 (see Equation 176), one can rewrite two summands of Equation 222 in the following form 1 4 ( ) ( ) k ω 1 k=0 4 ω1 k c k ( ) ( ) k ω 2 k=0 4 ω2 k c k = { } 1 2 ξ (ξ 2η 2 )c ξ ηc (223) 1 6c 2 + 4ηc 3 + (ξ 2η 2 )c 4 and 1 4 ( ) ( ) k ω 1 k=0 4 ω1 k c k 1 4 ( ) ( ) k ω 2 k=0 4 ω2 k c k = 4 ξ 2 η2 ξ { } (224) ηc 0 2ξc 1 + 2ξ 2 c 3 ξ 2 ηc 4 The first expression is proportional to the expression given in Equation 214 and the second one is proportional to the expression given in Equation 213, which implies that both of them are equal to zero. CASE 2.2

154 D Proofs 47 In this case ω = η 2 = ξ 0, ω = η and Equations 190 and 191 have the following representations in terms of η c 0 4ηc 1 + 6η 2 c 2 4η 3 c 3 + η 4 c 4 = 0 4η { c 1 + 3ηc 2 3η 2 c 3 + η 3 c 4 } = 0 (225) Using the equality η 2 = ξ, it is easy to verify that the first expression is proportional to Equation 214 and the second one is proportional to η 2 {Equation 214}+ 1 η {Equation 213}, which implies that both of the expressions are equal to zero. Auxiliary Lemma 8 Proof of Auxiliary Lemma 9 Proof of Auxiliary Lemma 9 is quite straightforward, therefore only the basic steps of the proof are presented below. CASE 1 From the assumption that Eq(0), Eq(1), Eq(n + 1) and Eq(n + 2) (in the case of n 5) being satisfied, definition of χ (see Equation 172) and formulas for ˆb 2, ˆb 3, ˆbn 1 and ˆb n (see Equation 171), it follows that χ 2ˆb2 + χ 3ˆb3 = b 0 + χb 1 + χ 2 b 2 + χ 3 b 3 (226) ˆbn 1 + χˆb n = b n 1 + χb n + χ 2 b n +1 + χ 3 b n +2 (227) For the coefficients α s (s = 2,..., n ) of non-trivial zero linear combination of the rows of the Restricted Middle system, the corresponding linear combination of the right-side coefficients can be written as n s=2 α n sˆb s = α 0 { s=2 χsˆb s = n } α +1 0 s=0 χs b s + χ n +2 b n +2 = α 0 n+2 s=0 χs b s (228) Equation 228 is based on the fact that ˆb s = b s for s = 4,..., n 2 (see Equation 171) and on the recursive formula for the coefficients of a non-trivial zero combinations α s+1 = χα s for s = 2,..., n 1 (see Equation 178). CASE 2 Similarly to the previous case, the main difficulty in the proof is connected to the expression of the first and the last couples of ˆb s in terms of b s. The assumption that equations Eq(s) for s = 0, 1, n + 1 and for s = n + 2 in case of n 5 are satisfied leads to the following relations ˆb2 = ˆb3 = b 2 + 4η2 ξ ξ b η ξ b 1 b 3 + 2η ξ b ξ b 1 ˆbn 1 = b n 1 ξb n ξηb n +2 (229) ˆbn = b n 2ηb n +1 + (4η 2 ξ)b n +2

155 D Proofs 48 The first couple of relations clearly implies that ( ) [( ˆb2 b0 (α 2 α 3 ) = (α 0 α 1 ) ˆb3 b 1 ) ( b2 + G b 3 )] (230) If n is odd then the last couple of relations (see Equation 229) can be rewritten in the form ( ) ( ) ( ) ˆbn 1 bn = 1 bn + G +1 (231) ˆbn b n b n +2 If n is even then it can be shown that ( ) ˆbn (α n 2 α n 1) 2 + α n ˆβn = ˆbn [( 1 ) bn 2 (α n 2 α n 1) + G b n 1 ( bn b n +1 )] (232) Equation 232 makes use of the fact that the satisfaction of sumc-equation leads to equality b n +2 = 0. Note, that it is the only step of the proof where the satisfaction of sumc-equation is required. It implies that requirement of the satisfaction of sumc-equation in the formulation of Auxiliary Lemma 9 is necessary only in case of even n 6. Now Equation 194 follows from Equations 230, 231, 232 and relation (α 2s α 2s+1 ) = (α 0 α 1 )G s, s = 2,..., n 3 (see Equation 180). Auxiliary Lemma 9 Proof of Auxiliary Lemma 10 Proof of Auxiliary Lemma 10 is based on the first statement of the algebraic Auxiliary Lemma 1, which provides the necessary and sufficient conditions for the consistency of a system in terms of the linear combinations of rows and right-side coefficients. CASE 1 Necessity and sufficiency of Equation immediately follows from Equation CASE 2 According to Auxiliary Lemma 9, it is clear that the Restricted Middle system is consistent if and only if equation n /2 s=0 G s ( ) ( b2s 0 = b 2s+1 0 ) (233) is satisfied. CASE 2.1

156 D Proofs 49 Proof of the Auxiliary Lemma in CASE 2.1 makes use of the Jordan form of matrix G given in Equation 183. Using the formula ( (v 1 v 2 ) 1 1 = ξ( ω 2 ω2 ) ω 1 ω 2 ω 1 ) (234) ω 1 ω1 ω 2 one sees that Equation 233 is equivalent to the system ( 0 0 ) = n /2 s=0 n /2 s=0 ( ω s 1 0 ) ( ω2 ) ( ) ω 1 ω 2 b2s = ω 1 ω1 ω 2 b 2s+1 ) (235) 0 ω2 s ( ( ω2 ( ω1 ) 2s b 2s + ( ) ω 1 ) 2s+1 b 2s+1 ( ω 1 ( ω2 ) 2s b 2s + ( ) ω 2 ) 2s+1 b 2s+1 The last system in turn is clearly equivalent to the following equation, which should be satisfied for ω 1 and ω 2 system of equations 2 n /2 +1 s=0 ( ω1,2 ) s bs = 0 (236) It remains to show, that the upper bound of summation can be changed from 2 n /2 +1 to n+2. The substitution of the upper bound is valid because b 7 = 0 for n = 4 and b n+2 = 0 for an even n > 4 (according to the assumption that sumc-equation is satisfied). CASE 2.2 Proof of the Auxiliary Lemma in CASE 2.2 is very similar to the proof in CASE 2.1. In the current case the Jordan form of the matrix G is given by Equation 186. Using the formula (v u) 1 = 1 ( ω ω ω one sees that Equation 233 is equivalent to the system ( 0 0 ) = n /2 ( s=0 ( ω s sω s ω 1 4 ω ) ) ( 1 0 ω s 4 ω ω 1 4 ω 2 n /2 +1 s=0 ( ω) s b s 1 2 ω 2 n /2 +1 s=0 ( ω) s b s ) ( ) b2s = b 2s+1 2 n /2 +1 s=0 ( ω) s 1 sb s (237) ) (238) Replacement of the upper bound of summation by n + 2 (which is valid due to the same reasons as in CASE 2.1 ) allows to conclude that Equations 198 and 199 provide the necessary and sufficient conditions for the consistency of the Restricted Middle system. Auxiliary Lemma 10 Proof of Auxiliary Lemma 12 Auxiliary Lemma 12 makes use of the following pair of implications

157 D Proofs 50 Impl(1) Impl(2) max deg(l, r) 1 implies that conditions of either CASE 1 or CASE 2 are satisfied. max deg(l, r) = 0 implies that conditions of case CASE 2.2.b are satisfied. A short proof of Impl(1) and Impl(2) is given below. Impl(1) Condition max deg(l, r) 1 means that l (power) 2 = l 0 2l 1 + l 2 = 0, r (power) 2 = r 0 2r 1 + r 2 = 0. Therefore r 0 l (power) 2 = l 0 r (power) 2 and equality g (01) = 1 2 g(02) holds. In the same manner multiplication of l (power) 2 and r (power) 2 by r 2 and l 2 respectively leads to equality g (12) = 1 2 g(02). It means that the condition max deg(l, r) 1 implies that g (01) = g (12) = 1 2 g(02) (239) Equation 239 holds if either g (01) = g (12) = g (02) = 0 which corresponds to CASE 2 or g (01),g (12),g (02) simultaneously differ from zero and ( g (02)) 2 = 4g (01) g (12) which corresponds to CASE 1. Impl(2) Condition max deg(l, r) = 0 means that l (power) 2 = r (power) 2 = l (power) 1 = r (power) 1 = 0 and so l 0 = l 1 = l 2, r 0 = r 1 = r 2 (240) It implies that g (01) = g (12) = g (02) = 0 and that ξ = χ (02) = 1, η = χ (12) = 1, which corresponds to CASE 2.2.b The remaining part of the proof presents computations of the exact value of max deg(l, r) in every one of the possible cases. CASE 0 In this case max deg(l, r) = 2 as it immediately follows from Impl(1). CASE 1 According to Impl(2), max deg(l, r) 1. It remains to show that max deg(l, r) 1 in CASE 1.a and max deg(l, r) 2 in CASE 1.b. CASE 1.a On the contrary, let max deg(l, r) = 1. As it follows from the proof of Impl(1), in this case g (01) = g (12) = 1 2 g(02). Conditions of CASE 1 imply that g (01), g (12), g (02) 0. It means that constant χ is correctly defined and by the definition is equal to χ = 2g(01) = 1, g (02) which contradicts the conditions of CASE 1.a. CASE 1.b On the contrary, let max deg(l, r) = 2. From the conditions of CASE 1.b, it follows that 2g (01) = g (02), 2g (12) = g (02). Ad-

158 D Proofs 51 dition of l 0 r 0 and l 2 r 2 to the both parts of the first and second equalities leads to the conclusion that l 0 r (power) 2 = r 0 l (power) 2, l 2 r (power) 2 = r 2 l (power) 2 (241) The last couple of equations means that both l (power) 2 and r (power) 2 are not equal to zero (otherwise from Equation 241 it follows that l (power) 2 = r (power) 2 = 0 which contradicts the assumption that max deg(l, r) = 2) and that l 0 = l 2 = l(power) 2 r 0 r 2 r (power) 2 (242) Equation 242 implies that g (02) = 0 which contradicts the conditions of CASE 1. CASE 2 CASE 2.1 Let conditions of CASE 2.1 be satisfied. From the formula ω 1,2 = η± η 2 ξ (see Equation 176) it follows that conditions of subcase CASE 2.1.a are equivalent to inequality 1 2η + ξ 0 (243) and conditions of subcase CASE 2.1.b are equivalent the equality 1 2η + ξ = 0 (244) Using Equations 243, 244 and the explicit formulas for ξ and η (see Equation 174), one sees that conditions of subcase CASE 2.1.a are satisfied if and only if the following inequality holds (in addition to the general conditions of CASE 2.1 ) l (power) 2 l 2 = r(power) 2 0 (245) r 2 and conditions of subcase CASE 2.1.b are satisfied if and only if the following equality holds (in addition to the general conditions of CASE 2.1 ) l (power) 2 l 2 = r(power) 2 = 0 (246) r 2 Now it is easy to compute the value of max deg(l, r) for both subcases of CASE 2.1. CASE 2.1.a Equation 245 clearly implies that max deg(l, r) = 2. CASE 2.1.b Equation 246 implies that max deg(l, r) 1. According to Impl(2), max deg(l, r) 0. It means that max deg(l, r) = 1.

159 D Proofs 52 CASE 2.2 CASE 2.2.a On the contrary, let max deg(l, r) 1. It implies in particular that 0 = l(power) 2 l2 = l0 2l1+l2 l 2 = ξ 2η + 1 = η 2 2η + 1 = (η 1) 2 (247) The last equality means that ω = η = 1, which contradicts the conditions of subcase CASE 2.2.a. CASE 2.2.b In this case ω = η = 1 and so l 1 = l 2, r 1 = r 2. In addition, ξ = η 2 = 1 and so l 0 = l 2, r 0 = r 2. It clearly implies that max deg(l, r) = 0. Auxiliary Lemma 12 Proof of Auxiliary Lemma 13 The Middle system of equations is composed of the Restricted Middle system and sumc-equation. It means that the consistency of the Middle system is equivalent to the couple of the following conditions sumc-equation is satisfied. The necessary and sufficient conditions for the consistency of the Restricted Middle system, given in Auxiliary Lemma 10, hold. Now Auxiliary Lemma 13 can be proven by a simple analysis of all possible subcases. Below the proof in CASE 2.1.a is given; the rest of the subcases can be analysed in a similar manner. CASE 2.1.a According to Auxiliary Lemma 12, max deg(l, r) = 2. Auxiliary Lemmas 10 and 11 imply that if sumc-equation is satisfied then the Restricted Middle system of equations is consistent if and only if 0 = ] n+2 s=0 ( ω 1,2 ) s b s = sumc equation [ ( ω 1,2) n [ ω 1,2 n 1 ( ) ] [ 1 1 ω 1,2 i=0 ( ω 1,2 ) i n-1 4 ( ) ] C i i j=0 ( (248) ω 1,2 ) j 4 c j j From the relation between coefficients of the weight function c(v) given in Auxiliary Lemma 8 (see Equation 189) it follows that Equation 248 holds if and only if sumc-equation is satisfied. It means that the Middle system of equations is consistent if and only if sumc-equation is satisfied. According to Lemma 20, one sees that the Middle system is consistent if and only if C equation c (power) 4 = 0. Auxiliary Lemma 13 Proof of the correctness of Algorithm 6

160 D Proofs 53 Stage 1 According to Lemma 21, at every inner vertex, local templates for classification of V,E,D,T -type control points remains unchanged with respect to the case of global bilinear in-plane parametrisation Π (bilinear). Therefore Algorithms from Section 12 can be reused. Stage 1 of Algorithm 6 includes Stage 1 and Stage 2 of algorithm for construction of global MDS in case of global bilinear in-plane parametrisation Π (bilinear) (Algorithm 1), applied to all inner vertices. Global classification of V,E-type control points succeeds for any n 4. For n 5, application of local templates for classification of D,T -types control points never leads to a contradictions (see Subsection 12.1). For n = 4, global classification of D,T -type control points succeeds in the current case according to Theorem 6, because no D-relevant boundary vertices are involved. Stage 2 According to Lemma 22, local templates for classification of the middle control points for edges with two inner vertices remain unchanged with respect to the case of global bilinear in-plane parametrisation Π (bilinear). Therefore Stage 2 of Algorithm 6 is precisely Stage 3 of Algorithm 1, applied to all edges with two inner vertex, which is known to succeed for any n 4. Stage 3 It is the only stage, which requires modifications with respect to construction of MDS in the case of global bilinear in-plane parametrisation Π (bilinear). Classification of the control points at Stage 3 is made locally, traversal order of the edges with one boundary vertex is not important. For every edge with one boundary vertex, the correctness of classification follows from the fact, that after application of Step 1 all initial assumptions of Lemma 23 and then (after classification of the central middle control points) of Theorem 9 are satisfied. Algorithm 6

161 D Proofs 54 (a) (b) (c) (d) (e) Fig. 54: An illustrations to proof of Theorem 6.

162 E Computation of Thin Plate energy for bilinear in-plane parametrisation of mesh element 55 E Computation of Thin Plate energy for bilinear in-plane parametrisation of mesh element The following example demonstrates the linear form of energy functional in the case of the Thin Plate problem (see Subsection 19.1 for the precise definition) and presents explicit computational formulas for the case of bilinear in-plane parametrisation. The current Section analyses a single mesh element and therefore it is possible to use slightly different notations than in the rest of the work - (X, Y, Z) instead of (P X, P Y, P ), J(u, v) instead of J ( P ) (u, v) - in order to make formulas more compact and clear. In addition, the superscript of Bernstein polynomials will sometimes be omitted. Let Π be a fixed global regular parametrisation, Ψ FUN (n) ( Π) and P = ( P, Z) = Ψ p be the restriction of Ψ on some mesh element p Q. In-plane parametrisation of the element P = (X, Y ) = Π p is fixed. Energy functional has the following form in terms of Z-components of the control points E = n n i,j=0 k,l=0 Z i,j Z k,l a kl ij n Z ij b ij. (249) i,j where a kl ij = b ij = D p ( 2 B ij X + 2 B ij ( 2 Y 2 2 B ij 2 B kl Y 2 (1 ν) p X 2 fb ijdxdy. ) ( 2 B kl X B ij Y 2 ) + 2 B kl Y 2 2 B kl X B ij X Y ) 2 B kl X Y dxdy (250) In matrix form one gets: E = Z T AZ Z T B (251) where Z = (Z 00,..., Z nn ) T - vector of Z-components of all the control points of the patch; symmetric (n + 1) 2 (n + 1) 2 square matrix A is built from components a kl ij and vector B = (b 00,..., b nn ) T. Elements of matrix A and vector B can be computed by representing the integrals with respect to variables (u, v) and then by applying any appropriate numerical method. Lemma 27 contains some useful general formulas for partial derivatives of u, v and Bernstein polynomials with respect to X and Y. Lemma 27: Let P (u, v) = (X(u, v), Y (u, v)) be a regular, twice differentiable parametrisation of a planar mesh element and J(u, v) = ( X u X v Y u Y v is Jacobian corresponding to the parametrisation. Then ) (252)

163 E Computation of Thin Plate energy for bilinear in-plane parametrisation of mesh element 56 (1) The first-order and the second-order partial derivatives of u and v with respect to X and Y can be computed according to the following formulas ( u ) ( v Y ) X X u v = J 1 1 (u, v) = v Y u det(j(u,v)) Y Y X X ( ) v u ( 2 u X 2 2 u X Y 2 u X Y 2 u Y 2 2 v X 2 2 v X Y 2 v X Y 2 v Y 2 ) = J 1 (u,v) X = J 1 (u,v) Y = J 1 ( J u u X + J v 1 v X )J = J 1 ( J u u Y + J v 1 v Y )J (253) (2) The first-order and the second-order partial derivatives of Bernstein polynomial B(u, v) can be computed according to the following formulas B X = B u u X + B v v X B Y = B u u Y + B v ( v Y 2 B X = 2 B u ) 2 2 u 2 X B u v u v X X + ( 2 B v ) 2 v 2 X + B 2 u u X + B 2 v 2 v X 2 2 B X Y = 2 B u u u 2 X Y +2 ( 2 B u v u v X Y + ) u v Y X + 2 B v v v 2 X Y + B 2 u u X Y + B 2 v ( v X Y 2 B Y = 2 B u ) 2 2 u 2 Y B u v u v Y Y + ( 2 B v ) 2 v 2 Y + B 2 u u Y + B 2 v 2 v Y 2 (254) In the case of bilinear in-plane parametrisation Π (bilinear) (see Section 9) the following formulas take place. For a planar quadrilateral element with vertices Ã, B, C, D (see Figure 4), determinant of Jacobian det(j(u, v)) may be written as det(j(u, v))= B Ã, C D u + C B, D Ã v + B Ã, D Ã (255) det(j(u, v)) is a linear function in terms of u and v in a general case and constant in the case of a parallelogram. It is important that det(j(u, v)) is a linear and not a bilinear function, because det(j(u, v)) participates in expressions for partial derivatives and its order is essential for the choice of an appropriate method for numerical or exact integration when the coefficients of energy matrix are computed. Based on Equation 255, Lemma 28 presents the explicit formulas for the first-order and the second-order partial derivatives of u and v with respect to X and Y. Lemma 28: Let a convex planar quadrilateral element have bilinear in-plane parametrisation P (u, v) = (X(u, v), Y (u, v)), J(u, v) be Jacobian corresponding to the parametrisation and T = t(ã, B, C, D) = Ã B + C D be the twist characteristic of the element (see Subsection 2.3.1). Then the first-order and the second-order partial derivatives of u and v with respect to X and Y can be computed according to the following formulas ( u X u Y 2 u X 2 2 u X Y 2 u Y 2 v X v Y ) 1 = det(j(u, v)) 2 v X 2 2 v X Y 2 v Y 2 = ( TY u + (D Y A Y ) T Y v (B Y A Y ) T X u (D X A X ) T X v + (B X A X ) u X 2 u v X X v Y + u Y 2 u v Y Y v X (T X, T Y ) ( u X u Y v X v Y ) ) (256) (257)

164 E Computation of Thin Plate energy for bilinear in-plane parametrisation of mesh element 57 Technical Lemma 28 allows concluding that the first-order partial derivatives are the linear rational functions and the second-order partial derivatives are cubic rational functions, where the denominator changes more rapidly when the quadrilateral is less similar to a parallelogram.

165 F From MDS to solution of the quadratic minimisation problem 58 F From MDS to solution of the quadratic minimisation problem Let Z all denote Z-components of all the control points of all the patches, ordered so that Z all = (Z (1) 00,..., Z(1) nn,..., Z (pmax) 00,..., Z nn (pmax) ) T (258) where Z (p) ij denotes a control point belonging to the patch with order number p = 1,..., p max. Here no dependencies between control points of the different patches are assumed. Let A (p) and B (p) (p = 1,..., p max ) be respectively the matrix and the vector which correspond to the computation of the energy functional for the patch with order number p. Then the global energy functional can be written in the form E(Z all ) = p max p=1 E (p) = Z T allaz all Z T allb (259) where A = A (1) A (2) A (pmax), B = B (1) B (2). B (pmax) (260) Formal differentiating of the energy functional and setting the result equal to zero yields E Z all = 2AZ all B = 0 (261) Let B (n) be a minimal determining set which fits a chosen additional constraints. The set of Z-coordinates corresponding to in-plane control points from the MDS will be denoted by Z basis. From the algebraic point of view, Z basis describes degrees of freedom of the constrained minimisation problem, where only G 1 continuity constraints are applied. Dependencies of the remaining control points on Z basis has a linear form and it is possible to define the dependency matrix C so that Z all = CZ basis (262) It leads to the energy functional of the form E(Z basis ) = Z T basisc T ACZ basis Z T basisc T B (263) Differentiation of the functional gives E Z basis = 2C T ACZ basis C T B = 0 (264)

166 F From MDS to solution of the quadratic minimisation problem 59 Note, that dependency of a dependent control point on the basic control points is usually defined step by step. At every stage of the classification process, for a control point which gets dependent status it is sufficient to define how it explicitly depends on the basic control points and control points which are defined as dependent during the previous stages or steps of the classification. It clearly leads to the gradual construction of the final dependency matrix. Z basis is known to fit the considered additional constraints. Therefore, it only remains to separate Z basis into two subsets Z fixed and Z free = Z basis \ Z fixed, where Z fixed is Z-coordinates of the control points which should be fixed as a result of application of the additional constraints. Assuming that Z basis is ordered so that Z basis = ( ) Zfree Z fixed and C = (C free C fixed ) (265) one gets the final linear system of equations with unknowns Z free E Z free = 2C T freeac free Z free + 2C T freeac fixed Z fixed C T freeb = 0 (266) Here A is n all n all symmetric square matrix, B is n all 1 vector, C free is n all n free matrix and C fixed is n all n fixed matrix, where n all, n free, n fixed are numbers of variables in Z all, Z free, Z fixed respectively.

167 G Construction of an interpolating surface: current approach and interpolation based on 3D mesh of curves 60 G Construction of an interpolating surface: current approach and interpolation based on 3D mesh of curves As already mentioned above, from the pure theoretical point of view results of the current work fit the general theory presented in Part II and have a nice and simple geometrical interpretation. The current Section concentrates on the more practical aspects of construction of the resulting surface for the (vertex)(tangent plane)-interpolation problem. The (vertex)(tangent plane)-interpolation problem is chosen since it is the native problem for the approach based on interpolation of 3D mesh of curves and one of the possible applications of our method. The Section highlights the similarities and the differences between the implementation of the current approach and the interpolation method described in work [35]. Algorithm for construction of a smooth interpolant presented in work [35] In the case of a cubic mesh of curves, work [35] provides an algorithm for the construction of G 1 -smooth quadratic interpolant. The algorithm requires that the mesh of curves satisfies the following requirements. - The mesh curves define a unique tangent plane at every mesh vertex. - Sufficient vertex enclosure constraint (see 2) holds at every even mesh vertex. - At every mesh vertex, tangents of any two sequential curves emanating from the vertex span an angle of less than π. For a quadrilateral mesh, the algorithm defines (3, 1, 1)-match for every pair of adjacent patches in the general case and (2, 0, 0)-match if the Tangents Relation ɛ (L), ɛ (R) ɛ (R), ɛ (C) + ɛ (C), ɛ (L) = ɛ (L), ɛ (R) ɛ (R), ɛ (C) + ɛ (C), ɛ (L) (267) holds (see Figure 55). Here the tangent vectors at two endpoints of the curve are considered in coordinates of the tangent plane they belong to. Generally, the coefficients of the weight functions are fixed in accordance with the given mesh data. The Bézier control points are built locally and linearly, proceeding from the boundary control points to the interior of a patch. Any under-constraint situation is solved by some local heuristic, like averaging or the least-square technique. In some situations, one additional heuristic constraint has to be imposed : the choice of the twist control points adjacent to an even inner mesh vertex; the choice of two middle side control points adjacent to a mesh curve which satisfies the Tangents Relation ; the choice of the inner middle control point of a quartic Bézier patch. Comparison with the current approach Although both techniques solve the (vertex)(tangent plane)-interpolation problem by construction of a G 1 -smooth piecewise Bézier surface, they pursue different goals and are applicable in different situations. The approach presented in work [35] serves mainly for the

168 G Construction of an interpolating surface: current approach and interpolation based on 3D mesh of curves 61 construction of nicely looking smooth surfaces, it may be used as a tool of visualization. The current approach finds the constrained solution of some minimisation problem defined by a given energy functional. There are some similarities and many differences in these two techniques. Local/global nature of the solution. Application of the local heuristics. Interpolation of 3D mesh of curves with a smooth surface uses local techniques. Control points of the resulting Bézier patches are constructed separately for every face of the mesh and depend on the geometry of the mesh. The solution of all the under-constraint situations and the choice of the inner control points is based on some local heuristics. The current approach uses no heuristics, but requires solution of some global system. Construction of a MDS allows to decrease significantly the number of variables and to solve the global system in terms of the basic control points only. Under-constraint situations and additional degrees of freedom There are definite similarities between under-constraint situations of the mesh interpolation algorithm and some special cases studied in the current work. For example, an additional basic twist control point for an inner even vertex (in the current approach, see Subsection ) reflects the application of a local heuristic for the choice of the twist control points adjacent to an even inner vertex (in the 3D mesh of curves interpolation approach). An additional middle basic control point for an edge, which satisfies the Projections Relation (see Theorem 5) is the application of a local heuristic for the choice of the side middle control points adjacent to a mesh curve which satisfies the Tangents Relation. Requirements on the initial data. The approach based on interpolation of 3D mesh of curves works only if the mesh is admissible; the satisfaction of the vertex enclosure constraint, which involves the first and second-order derivatives, should be verified at every vertex of the mesh. The current approach does not define any requirements on the initial data (excepting minor natural mesh limitations). Moreover curves which participate in 3D mesh of curves are fully defined; in particular it means that the first and second-order derivatives of the resulting patches in the boundary directions are initially defined. In the current approach, a boundary curve of a resulting patch has at least one degree of freedom (at least one inner control point of the curve is not fixed by the initial data), which allows to always satisfy the vertex enclosure constraint. Degrees of the resulting patches. According to the current approach, there exist an instance of B (4) ( Π (bilinear) ) (in the case of a mesh with a polygonal global boundary) and an instance of B (5) ( Π (bicubic) ) or mixed MDS B (4,5) ( Π (bicubic) ) (in case of a mesh with a smooth global boundary), which fit the (vertex)(tangentplane)-interpolation condition. The approach for interpolation of 3D mesh of curves allows to construct the solution of degree 4 for any admissible mesh; a case of a mesh with a given smooth global boundary is not an exception. The main reason for the difference is that the approaches use different techniques for definition of the weight functions. As soon as a 3D mesh of curves appears to be admissible, the approach of curve mesh interpolation defines coefficients of the weight functions which participate in the vertex enclosure constraints separately at every mesh vertex and then proceeds with definition of the weight functions independently for every curve. In the current approach, the weight functions of the different edges of the same mesh element are inter-

169 G Construction of an interpolating surface: current approach and interpolation based on 3D mesh of curves 62 connected by an in-plane parametrisation of the element. In the case of a planar mesh with a piecewise-cubic boundary, the bicubic in-plane parametrisation of the boundary mesh elements leads to the high degrees of the weight functions for the edges with one boundary vertex. Of course, for every such edge it might be possible to construct the weight functions separately, precisely in the same manner as in the case of global bilinear in-plane parametrisation. For example, in Figure 56, the weight functions of edge ( γ, γ ) are defined by the bilinear parametrisations of virtual mesh elements constructed according to the middle control points of the boundary curve. Although these weight functions and correspondent G 1 -continuity equations could be analysed similarly to the analysis presented in Section 4, they lead to a disagreement of in-plane control points corresponding to the weight functions of three inner edges of the boundary mesh element. It implies that in-plane parametrisation is no longer correctly defined for boundary mesh elements, while the definition of in-plane parametrisation a priory plays the principal role for the current approach.

170 G Construction of an interpolating surface: current approach and interpolation based on 3D mesh of curves 63 Fig. 55: An illustration for the Tangents Relation. Fig. 56: Different weight functions correspond to different in-plane parametrisations of the boundary mesh elements.

On Smooth Bicubic Surfaces from Quad Meshes

On Smooth Bicubic Surfaces from Quad Meshes On Smooth Bicubic Surfaces from Quad Meshes Jianhua Fan and Jörg Peters Dept CISE, University of Florida Abstract. Determining the least m such that one m m bi-cubic macropatch per quadrilateral offers

More information

A new 8-node quadrilateral spline finite element

A new 8-node quadrilateral spline finite element Journal of Computational and Applied Mathematics 195 (2006) 54 65 www.elsevier.com/locate/cam A new 8-node quadrilateral spline finite element Chong-Jun Li, Ren-Hong Wang Institute of Mathematical Sciences,

More information

Element Quality Metrics for Higher-Order Bernstein Bézier Elements

Element Quality Metrics for Higher-Order Bernstein Bézier Elements Element Quality Metrics for Higher-Order Bernstein Bézier Elements Luke Engvall and John A. Evans Abstract In this note, we review the interpolation theory for curvilinear finite elements originally derived

More information

Surfaces for CAGD. FSP Tutorial. FSP-Seminar, Graz, November

Surfaces for CAGD. FSP Tutorial. FSP-Seminar, Graz, November Surfaces for CAGD FSP Tutorial FSP-Seminar, Graz, November 2005 1 Tensor Product Surfaces Given: two curve schemes (Bézier curves or B splines): I: x(u) = m i=0 F i(u)b i, u [a, b], II: x(v) = n j=0 G

More information

Parameterization. Michael S. Floater. November 10, 2011

Parameterization. Michael S. Floater. November 10, 2011 Parameterization Michael S. Floater November 10, 2011 Triangular meshes are often used to represent surfaces, at least initially, one reason being that meshes are relatively easy to generate from point

More information

Parameterization of triangular meshes

Parameterization of triangular meshes Parameterization of triangular meshes Michael S. Floater November 10, 2009 Triangular meshes are often used to represent surfaces, at least initially, one reason being that meshes are relatively easy to

More information

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg COMPUTER AIDED GEOMETRIC DESIGN Thomas W. Sederberg January 31, 2011 ii T. W. Sederberg iii Preface This semester is the 24 th time I have taught a course at Brigham Young University titled, Computer Aided

More information

Shape Modeling and Geometry Processing

Shape Modeling and Geometry Processing 252-0538-00L, Spring 2018 Shape Modeling and Geometry Processing Discrete Differential Geometry Differential Geometry Motivation Formalize geometric properties of shapes Roi Poranne # 2 Differential Geometry

More information

The Essentials of CAGD

The Essentials of CAGD The Essentials of CAGD Chapter 6: Bézier Patches Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/essentials-cagd c 2 Farin & Hansford The

More information

BS-Patch: Constrained Bezier Parametric Patch

BS-Patch: Constrained Bezier Parametric Patch BS-Patch: Constrained Bezier Parametric Patch VACLAV SKALA, VIT ONDRACKA Department of Computer Science and Engineering University of West Bohemia Univerzitni 8, CZ 06 14 Plzen CZECH REPUBLIC skala@kiv.zcu.cz

More information

3D Modeling Parametric Curves & Surfaces

3D Modeling Parametric Curves & Surfaces 3D Modeling Parametric Curves & Surfaces Shandong University Spring 2012 3D Object Representations Raw data Point cloud Range image Polygon soup Solids Voxels BSP tree CSG Sweep Surfaces Mesh Subdivision

More information

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016 Computergrafik Matthias Zwicker Universität Bern Herbst 2016 Today Curves NURBS Surfaces Parametric surfaces Bilinear patch Bicubic Bézier patch Advanced surface modeling 2 Piecewise Bézier curves Each

More information

Almost Curvature Continuous Fitting of B-Spline Surfaces

Almost Curvature Continuous Fitting of B-Spline Surfaces Journal for Geometry and Graphics Volume 2 (1998), No. 1, 33 43 Almost Curvature Continuous Fitting of B-Spline Surfaces Márta Szilvási-Nagy Department of Geometry, Mathematical Institute, Technical University

More information

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a coordinate system and then the measuring of the point with

More information

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013 3D Modeling Parametric Curves & Surfaces Shandong University Spring 2013 3D Object Representations Raw data Point cloud Range image Polygon soup Surfaces Mesh Subdivision Parametric Implicit Solids Voxels

More information

Curves and Surfaces for Computer-Aided Geometric Design

Curves and Surfaces for Computer-Aided Geometric Design Curves and Surfaces for Computer-Aided Geometric Design A Practical Guide Fourth Edition Gerald Farin Department of Computer Science Arizona State University Tempe, Arizona /ACADEMIC PRESS I San Diego

More information

Computergrafik. Matthias Zwicker. Herbst 2010

Computergrafik. Matthias Zwicker. Herbst 2010 Computergrafik Matthias Zwicker Universität Bern Herbst 2010 Today Curves NURBS Surfaces Parametric surfaces Bilinear patch Bicubic Bézier patch Advanced surface modeling Piecewise Bézier curves Each segment

More information

Sung-Eui Yoon ( 윤성의 )

Sung-Eui Yoon ( 윤성의 ) CS480: Computer Graphics Curves and Surfaces Sung-Eui Yoon ( 윤성의 ) Course URL: http://jupiter.kaist.ac.kr/~sungeui/cg Today s Topics Surface representations Smooth curves Subdivision 2 Smooth Curves and

More information

INF3320 Computer Graphics and Discrete Geometry

INF3320 Computer Graphics and Discrete Geometry INF3320 Computer Graphics and Discrete Geometry More smooth Curves and Surfaces Christopher Dyken, Michael Floater and Martin Reimers 10.11.2010 Page 1 More smooth Curves and Surfaces Akenine-Möller, Haines

More information

Lecture 25: Bezier Subdivision. And he took unto him all these, and divided them in the midst, and laid each piece one against another: Genesis 15:10

Lecture 25: Bezier Subdivision. And he took unto him all these, and divided them in the midst, and laid each piece one against another: Genesis 15:10 Lecture 25: Bezier Subdivision And he took unto him all these, and divided them in the midst, and laid each piece one against another: Genesis 15:10 1. Divide and Conquer If we are going to build useful

More information

Computer Graphics Curves and Surfaces. Matthias Teschner

Computer Graphics Curves and Surfaces. Matthias Teschner Computer Graphics Curves and Surfaces Matthias Teschner Outline Introduction Polynomial curves Bézier curves Matrix notation Curve subdivision Differential curve properties Piecewise polynomial curves

More information

09 - Designing Surfaces. CSCI-GA Computer Graphics - Fall 16 - Daniele Panozzo

09 - Designing Surfaces. CSCI-GA Computer Graphics - Fall 16 - Daniele Panozzo 9 - Designing Surfaces Triangular surfaces A surface can be discretized by a collection of points and triangles Each triangle is a subset of a plane Every point on the surface can be expressed as an affine

More information

G 2 Interpolation for Polar Surfaces

G 2 Interpolation for Polar Surfaces 1 G 2 Interpolation for Polar Surfaces Jianzhong Wang 1, Fuhua Cheng 2,3 1 University of Kentucky, jwangf@uky.edu 2 University of Kentucky, cheng@cs.uky.edu 3 National Tsinhua University ABSTRACT In this

More information

PS Geometric Modeling Homework Assignment Sheet I (Due 20-Oct-2017)

PS Geometric Modeling Homework Assignment Sheet I (Due 20-Oct-2017) Homework Assignment Sheet I (Due 20-Oct-2017) Assignment 1 Let n N and A be a finite set of cardinality n = A. By definition, a permutation of A is a bijective function from A to A. Prove that there exist

More information

Pythagorean - Hodograph Curves: Algebra and Geometry Inseparable

Pythagorean - Hodograph Curves: Algebra and Geometry Inseparable Rida T. Farouki Pythagorean - Hodograph Curves: Algebra and Geometry Inseparable With 204 Figures and 15 Tables 4y Springer Contents 1 Introduction 1 1.1 The Lure of Analytic Geometry 1 1.2 Symbiosis of

More information

(Refer Slide Time: 00:02:24 min)

(Refer Slide Time: 00:02:24 min) CAD / CAM Prof. Dr. P. V. Madhusudhan Rao Department of Mechanical Engineering Indian Institute of Technology, Delhi Lecture No. # 9 Parametric Surfaces II So these days, we are discussing the subject

More information

Generalized barycentric coordinates

Generalized barycentric coordinates Generalized barycentric coordinates Michael S. Floater August 20, 2012 In this lecture, we review the definitions and properties of barycentric coordinates on triangles, and study generalizations to convex,

More information

Central issues in modelling

Central issues in modelling Central issues in modelling Construct families of curves, surfaces and volumes that can represent common objects usefully; are easy to interact with; interaction includes: manual modelling; fitting to

More information

Lecture notes for Topology MMA100

Lecture notes for Topology MMA100 Lecture notes for Topology MMA100 J A S, S-11 1 Simplicial Complexes 1.1 Affine independence A collection of points v 0, v 1,..., v n in some Euclidean space R N are affinely independent if the (affine

More information

Non-Linear Finite Element Methods in Solid Mechanics Attilio Frangi, Politecnico di Milano, February 3, 2017, Lesson 1

Non-Linear Finite Element Methods in Solid Mechanics Attilio Frangi, Politecnico di Milano, February 3, 2017, Lesson 1 Non-Linear Finite Element Methods in Solid Mechanics Attilio Frangi, attilio.frangi@polimi.it Politecnico di Milano, February 3, 2017, Lesson 1 1 Politecnico di Milano, February 3, 2017, Lesson 1 2 Outline

More information

Construction and smoothing of triangular Coons patches with geodesic boundary curves

Construction and smoothing of triangular Coons patches with geodesic boundary curves Construction and smoothing of triangular Coons patches with geodesic boundary curves R. T. Farouki, (b) N. Szafran, (a) L. Biard (a) (a) Laboratoire Jean Kuntzmann, Université Joseph Fourier Grenoble,

More information

Introduction p. 1 What Is Geometric Modeling? p. 1 Computer-aided geometric design Solid modeling Algebraic geometry Computational geometry

Introduction p. 1 What Is Geometric Modeling? p. 1 Computer-aided geometric design Solid modeling Algebraic geometry Computational geometry Introduction p. 1 What Is Geometric Modeling? p. 1 Computer-aided geometric design Solid modeling Algebraic geometry Computational geometry Representation Ab initio design Rendering Solid modelers Kinematic

More information

Knot Insertion and Reparametrization of Interval B-spline Curves

Knot Insertion and Reparametrization of Interval B-spline Curves International Journal of Video&Image Processing and Network Security IJVIPNS-IJENS Vol:14 No:05 1 Knot Insertion and Reparametrization of Interval B-spline Curves O. Ismail, Senior Member, IEEE Abstract

More information

Lectures in Discrete Differential Geometry 3 Discrete Surfaces

Lectures in Discrete Differential Geometry 3 Discrete Surfaces Lectures in Discrete Differential Geometry 3 Discrete Surfaces Etienne Vouga March 19, 2014 1 Triangle Meshes We will now study discrete surfaces and build up a parallel theory of curvature that mimics

More information

Preferred directions for resolving the non-uniqueness of Delaunay triangulations

Preferred directions for resolving the non-uniqueness of Delaunay triangulations Preferred directions for resolving the non-uniqueness of Delaunay triangulations Christopher Dyken and Michael S. Floater Abstract: This note proposes a simple rule to determine a unique triangulation

More information

Spline Methods Draft. Tom Lyche and Knut Mørken

Spline Methods Draft. Tom Lyche and Knut Mørken Spline Methods Draft Tom Lyche and Knut Mørken January 5, 2005 2 Contents 1 Splines and B-splines an Introduction 3 1.1 Convex combinations and convex hulls.................... 3 1.1.1 Stable computations...........................

More information

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li.

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li. Fall 2014 CSCI 420: Computer Graphics 4.2 Splines Hao Li http://cs420.hao-li.com 1 Roller coaster Next programming assignment involves creating a 3D roller coaster animation We must model the 3D curve

More information

Monotone Paths in Geometric Triangulations

Monotone Paths in Geometric Triangulations Monotone Paths in Geometric Triangulations Adrian Dumitrescu Ritankar Mandal Csaba D. Tóth November 19, 2017 Abstract (I) We prove that the (maximum) number of monotone paths in a geometric triangulation

More information

ECE 600, Dr. Farag, Summer 09

ECE 600, Dr. Farag, Summer 09 ECE 6 Summer29 Course Supplements. Lecture 4 Curves and Surfaces Aly A. Farag University of Louisville Acknowledgements: Help with these slides were provided by Shireen Elhabian A smile is a curve that

More information

Curves and Surfaces. Shireen Elhabian and Aly A. Farag University of Louisville

Curves and Surfaces. Shireen Elhabian and Aly A. Farag University of Louisville Curves and Surfaces Shireen Elhabian and Aly A. Farag University of Louisville February 21 A smile is a curve that sets everything straight Phyllis Diller (American comedienne and actress, born 1917) Outline

More information

Spline Methods Draft. Tom Lyche and Knut Mørken. Department of Informatics Centre of Mathematics for Applications University of Oslo

Spline Methods Draft. Tom Lyche and Knut Mørken. Department of Informatics Centre of Mathematics for Applications University of Oslo Spline Methods Draft Tom Lyche and Knut Mørken Department of Informatics Centre of Mathematics for Applications University of Oslo January 27, 2006 Contents 1 Splines and B-splines an Introduction 1 1.1

More information

Normals of subdivision surfaces and their control polyhedra

Normals of subdivision surfaces and their control polyhedra Computer Aided Geometric Design 24 (27 112 116 www.elsevier.com/locate/cagd Normals of subdivision surfaces and their control polyhedra I. Ginkel a,j.peters b,,g.umlauf a a University of Kaiserslautern,

More information

Spline Functions on Triangulations

Spline Functions on Triangulations Spline Functions on Triangulations MING-JUN LAI AND LARRY L. SCHUMAKER CAMBRIDGE UNIVERSITY PRESS Contents Preface xi Chapter 1. Bivariate Polynomials 1.1. Introduction 1 1.2. Norms of Polynomials on Triangles

More information

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple Curves and surfaces Escaping Flatland Until now we have worked with flat entities such as lines and flat polygons Fit well with graphics hardware Mathematically simple But the world is not composed of

More information

u 0+u 2 new boundary vertex

u 0+u 2 new boundary vertex Combined Subdivision Schemes for the design of surfaces satisfying boundary conditions Adi Levin School of Mathematical Sciences, Tel-Aviv University, Tel-Aviv 69978, Israel. Email:fadilev@math.tau.ac.ilg

More information

Lecture IV Bézier Curves

Lecture IV Bézier Curves Lecture IV Bézier Curves Why Curves? Why Curves? Why Curves? Why Curves? Why Curves? Linear (flat) Curved Easier More pieces Looks ugly Complicated Fewer pieces Looks smooth What is a curve? Intuitively:

More information

implicit surfaces, approximate implicitization, B-splines, A- patches, surface fitting

implicit surfaces, approximate implicitization, B-splines, A- patches, surface fitting 24. KONFERENCE O GEOMETRII A POČÍTAČOVÉ GRAFICE ZBYNĚK ŠÍR FITTING OF PIECEWISE POLYNOMIAL IMPLICIT SURFACES Abstrakt In our contribution we discuss the possibility of an efficient fitting of piecewise

More information

Pebble Sets in Convex Polygons

Pebble Sets in Convex Polygons 2 1 Pebble Sets in Convex Polygons Kevin Iga, Randall Maddox June 15, 2005 Abstract Lukács and András posed the problem of showing the existence of a set of n 2 points in the interior of a convex n-gon

More information

Subdivision Surfaces

Subdivision Surfaces Subdivision Surfaces 1 Geometric Modeling Sometimes need more than polygon meshes Smooth surfaces Traditional geometric modeling used NURBS Non uniform rational B-Spline Demo 2 Problems with NURBS A single

More information

Evaluation of Loop Subdivision Surfaces

Evaluation of Loop Subdivision Surfaces Evaluation of Loop Subdivision Surfaces Jos Stam Alias wavefront, Inc. 8 Third Ave, 8th Floor, Seattle, WA 980, U.S.A. jstam@aw.sgi.com Abstract This paper describes a technique to evaluate Loop subdivision

More information

Surface Mesh Generation

Surface Mesh Generation Surface Mesh Generation J.-F. Remacle Université catholique de Louvain September 22, 2011 0 3D Model For the description of the mesh generation process, let us consider the CAD model of a propeller presented

More information

Finite Element Methods

Finite Element Methods Chapter 5 Finite Element Methods 5.1 Finite Element Spaces Remark 5.1 Mesh cells, faces, edges, vertices. A mesh cell is a compact polyhedron in R d, d {2,3}, whose interior is not empty. The boundary

More information

and the crooked shall be made straight, and the rough ways shall be made smooth; Luke 3:5

and the crooked shall be made straight, and the rough ways shall be made smooth; Luke 3:5 ecture 8: Knot Insertion Algorithms for B-Spline Curves and Surfaces and the crooked shall be made straight, and the rough ways shall be made smooth; uke 3:5. Motivation B-spline methods have several advantages

More information

Contents. I The Basic Framework for Stationary Problems 1

Contents. I The Basic Framework for Stationary Problems 1 page v Preface xiii I The Basic Framework for Stationary Problems 1 1 Some model PDEs 3 1.1 Laplace s equation; elliptic BVPs... 3 1.1.1 Physical experiments modeled by Laplace s equation... 5 1.2 Other

More information

Spline Methods Draft. Tom Lyche and Knut Mørken

Spline Methods Draft. Tom Lyche and Knut Mørken Spline Methods Draft Tom Lyche and Knut Mørken 24th May 2002 2 Contents 1 Splines and B-splines an introduction 3 1.1 Convex combinations and convex hulls..................... 3 1.1.1 Stable computations...........................

More information

Using Semi-Regular 4 8 Meshes for Subdivision Surfaces

Using Semi-Regular 4 8 Meshes for Subdivision Surfaces Using Semi-Regular 8 Meshes for Subdivision Surfaces Luiz Velho IMPA Instituto de Matemática Pura e Aplicada Abstract. Semi-regular 8 meshes are refinable triangulated quadrangulations. They provide a

More information

IsoGeometric Analysis: Be zier techniques in Numerical Simulations

IsoGeometric Analysis: Be zier techniques in Numerical Simulations IsoGeometric Analysis: Be zier techniques in Numerical Simulations Ahmed Ratnani IPP, Garching, Germany July 30, 2015 1/ 1 1/1 Outline Motivations Computer Aided Design (CAD) Zoology Splines/NURBS Finite

More information

Know it. Control points. B Spline surfaces. Implicit surfaces

Know it. Control points. B Spline surfaces. Implicit surfaces Know it 15 B Spline Cur 14 13 12 11 Parametric curves Catmull clark subdivision Parametric surfaces Interpolating curves 10 9 8 7 6 5 4 3 2 Control points B Spline surfaces Implicit surfaces Bezier surfaces

More information

Intro to Modeling Modeling in 3D

Intro to Modeling Modeling in 3D Intro to Modeling Modeling in 3D Polygon sets can approximate more complex shapes as discretized surfaces 2 1 2 3 Curve surfaces in 3D Sphere, ellipsoids, etc Curved Surfaces Modeling in 3D ) ( 2 2 2 2

More information

Shape Control of Cubic H-Bézier Curve by Moving Control Point

Shape Control of Cubic H-Bézier Curve by Moving Control Point Journal of Information & Computational Science 4: 2 (2007) 871 878 Available at http://www.joics.com Shape Control of Cubic H-Bézier Curve by Moving Control Point Hongyan Zhao a,b, Guojin Wang a,b, a Department

More information

Connected Components of Underlying Graphs of Halving Lines

Connected Components of Underlying Graphs of Halving Lines arxiv:1304.5658v1 [math.co] 20 Apr 2013 Connected Components of Underlying Graphs of Halving Lines Tanya Khovanova MIT November 5, 2018 Abstract Dai Yang MIT In this paper we discuss the connected components

More information

Curves D.A. Forsyth, with slides from John Hart

Curves D.A. Forsyth, with slides from John Hart Curves D.A. Forsyth, with slides from John Hart Central issues in modelling Construct families of curves, surfaces and volumes that can represent common objects usefully; are easy to interact with; interaction

More information

Fairing Scalar Fields by Variational Modeling of Contours

Fairing Scalar Fields by Variational Modeling of Contours Fairing Scalar Fields by Variational Modeling of Contours Martin Bertram University of Kaiserslautern, Germany Abstract Volume rendering and isosurface extraction from three-dimensional scalar fields are

More information

CS337 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics. Bin Sheng Representing Shape 9/20/16 1/15

CS337 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics. Bin Sheng Representing Shape 9/20/16 1/15 Describing Shapes Constructing Objects in Computer Graphics 1/15 2D Object Definition (1/3) Lines and polylines: Polylines: lines drawn between ordered points A closed polyline is a polygon, a simple polygon

More information

Adaptive and Smooth Surface Construction by Triangular A-Patches

Adaptive and Smooth Surface Construction by Triangular A-Patches Adaptive and Smooth Surface Construction by Triangular A-Patches Guoliang Xu Institute of Computational Mathematics and Scientific/Engineering Computing, Chinese Academy of Sciences, Beijing, China Abstract

More information

Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves

Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves (Extended Abstract) Emilio Di Giacomo and Walter Didimo Università di Perugia ({digiacomo,didimo}@diei.unipg.it). Abstract. We study how to

More information

June 5, Institute of Structural Analysis Graz University of Technology Lessingstr. 25/II, 8010 Graz, Austria

June 5, Institute of Structural Analysis Graz University of Technology Lessingstr. 25/II, 8010 Graz, Austria Higher-order meshing of implicit geometries part I: Integration and interpolation in cut elements arxiv:706.00578v [cs.na] 2 Jun 207 T.P. Fries, S. Omerović, D. Schöllhammer, J. Steidl June 5, 207 Institute

More information

CHAPTER 6 Parametric Spline Curves

CHAPTER 6 Parametric Spline Curves CHAPTER 6 Parametric Spline Curves When we introduced splines in Chapter 1 we focused on spline curves, or more precisely, vector valued spline functions. In Chapters 2 and 4 we then established the basic

More information

UNIVERSITY OF CALGARY. Subdivision Surfaces. Advanced Geometric Modeling Faramarz Samavati

UNIVERSITY OF CALGARY. Subdivision Surfaces. Advanced Geometric Modeling Faramarz Samavati Subdivision Surfaces Surfaces Having arbitrary Topologies Tensor Product Surfaces Non Tensor Surfaces We can t find u-curves and v-curves in general surfaces General Subdivision Coarse mesh Subdivision

More information

Advanced Modeling 2. Katja Bühler, Andrej Varchola, Eduard Gröller. March 24, x(t) z(t)

Advanced Modeling 2. Katja Bühler, Andrej Varchola, Eduard Gröller. March 24, x(t) z(t) Advanced Modeling 2 Katja Bühler, Andrej Varchola, Eduard Gröller March 24, 2014 1 Parametric Representations A parametric curve in E 3 is given by x(t) c : c(t) = y(t) ; t I = [a, b] R z(t) where x(t),

More information

2018 AMS short course Discrete Differential Geometry. Discrete Mappings. Yaron Lipman Weizmann Institute of Science

2018 AMS short course Discrete Differential Geometry. Discrete Mappings. Yaron Lipman Weizmann Institute of Science 2018 AMS short course Discrete Differential Geometry 1 Discrete Mappings Yaron Lipman Weizmann Institute of Science 2 Surfaces as triangulations Triangles stitched to build a surface. 3 Surfaces as triangulations

More information

Subdivision. Outline. Key Questions. Subdivision Surfaces. Advanced Computer Graphics (Spring 2013) Video: Geri s Game (outside link)

Subdivision. Outline. Key Questions. Subdivision Surfaces. Advanced Computer Graphics (Spring 2013) Video: Geri s Game (outside link) Advanced Computer Graphics (Spring 03) CS 83, Lecture 7: Subdivision Ravi Ramamoorthi http://inst.eecs.berkeley.edu/~cs83/sp3 Slides courtesy of Szymon Rusinkiewicz, James O Brien with material from Denis

More information

13.472J/1.128J/2.158J/16.940J COMPUTATIONAL GEOMETRY

13.472J/1.128J/2.158J/16.940J COMPUTATIONAL GEOMETRY 13.472J/1.128J/2.158J/16.940J COMPUTATIONAL GEOMETRY Lecture 23 Dr. W. Cho Prof. N. M. Patrikalakis Copyright c 2003 Massachusetts Institute of Technology Contents 23 F.E. and B.E. Meshing Algorithms 2

More information

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Parametric Curves University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Parametric Representations 3 basic representation strategies: Explicit: y = mx + b Implicit: ax + by + c

More information

Dimensions of Spline Spaces over 3D Hierarchical T-Meshes

Dimensions of Spline Spaces over 3D Hierarchical T-Meshes Journal of Information & Computational Science 3: 3 (2006) 487 501 Available at http://www.joics.com Dimensions of Spline Spaces over 3D Hierarchical T-Meshes Xin Li, Jiansong Deng, Falai Chen Department

More information

High-Quality Shape Fitting for Aesthetic Modeling Based on Class A Condition

High-Quality Shape Fitting for Aesthetic Modeling Based on Class A Condition 632 High-Quality Shape Fitting for Aesthetic Modeling Based on Class A Condition Tetsuo Oya 1, Hiroki Amemiya 2, Hideki Aoyama 3 and Masatake Higashi 4 1 Keio University, oya@sd.keio.ac.jp 2 Keio University,

More information

PARALLEL CURVED MESHING FOR HIGH-ORDER FINITE ELEMENT SIMULATIONS

PARALLEL CURVED MESHING FOR HIGH-ORDER FINITE ELEMENT SIMULATIONS PARALLEL CURVED MESHING FOR HIGH-ORDER FINITE ELEMENT SIMULATIONS By Qiukai Lu A Dissertation Submitted to the Graduate Faculty of Rensselaer Polytechnic Institute in Partial Fulfillment of the Requirements

More information

A New Class of Quasi-Cubic Trigonometric Bezier Curve and Surfaces

A New Class of Quasi-Cubic Trigonometric Bezier Curve and Surfaces A New Class of Quasi-Cubic Trigonometric Bezier Curve and Surfaces Mridula Dube 1, Urvashi Mishra 2 1 Department of Mathematics and Computer Science, R.D. University, Jabalpur, Madhya Pradesh, India 2

More information

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics 1/15

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics 1/15 Describing Shapes Constructing Objects in Computer Graphics 1/15 2D Object Definition (1/3) Lines and polylines: Polylines: lines drawn between ordered points A closed polyline is a polygon, a simple polygon

More information

4. Simplicial Complexes and Simplicial Homology

4. Simplicial Complexes and Simplicial Homology MATH41071/MATH61071 Algebraic topology Autumn Semester 2017 2018 4. Simplicial Complexes and Simplicial Homology Geometric simplicial complexes 4.1 Definition. A finite subset { v 0, v 1,..., v r } R n

More information

CS354 Computer Graphics Surface Representation IV. Qixing Huang March 7th 2018

CS354 Computer Graphics Surface Representation IV. Qixing Huang March 7th 2018 CS354 Computer Graphics Surface Representation IV Qixing Huang March 7th 2018 Today s Topic Subdivision surfaces Implicit surface representation Subdivision Surfaces Building complex models We can extend

More information

Zulfiqar Habib and Manabu Sakai. Received September 9, 2003

Zulfiqar Habib and Manabu Sakai. Received September 9, 2003 Scientiae Mathematicae Japonicae Online, e-004, 63 73 63 G PH QUINTIC SPIRAL TRANSITION CURVES AND THEIR APPLICATIONS Zulfiqar Habib and Manabu Sakai Received September 9, 003 Abstract. A method for family

More information

GL9: Engineering Communications. GL9: CAD techniques. Curves Surfaces Solids Techniques

GL9: Engineering Communications. GL9: CAD techniques. Curves Surfaces Solids Techniques 436-105 Engineering Communications GL9:1 GL9: CAD techniques Curves Surfaces Solids Techniques Parametric curves GL9:2 x = a 1 + b 1 u + c 1 u 2 + d 1 u 3 + y = a 2 + b 2 u + c 2 u 2 + d 2 u 3 + z = a

More information

arxiv: v1 [math.gr] 2 Oct 2013

arxiv: v1 [math.gr] 2 Oct 2013 POLYGONAL VH COMPLEXES JASON K.C. POLÁK AND DANIEL T. WISE arxiv:1310.0843v1 [math.gr] 2 Oct 2013 Abstract. Ian Leary inquires whether a class of hyperbolic finitely presented groups are residually finite.

More information

p y = 0 x c Figure : Stereographic projection. r p p y = 0 c p Figure : Central projection. Furthermore, we will discuss representations of entire sph

p y = 0 x c Figure : Stereographic projection. r p p y = 0 c p Figure : Central projection. Furthermore, we will discuss representations of entire sph Circle and Sphere as rational splines Claudia Bangert and Hartmut Prautzsch Universitat Karlsruhe, Fakultat fur Informatik D-8 Karlsruhe, Germany corresponding author, e-mail: prau@ira.uka.de Abstract

More information

Scientific Computing: Interpolation

Scientific Computing: Interpolation Scientific Computing: Interpolation Aleksandar Donev Courant Institute, NYU donev@courant.nyu.edu Course MATH-GA.243 or CSCI-GA.22, Fall 25 October 22nd, 25 A. Donev (Courant Institute) Lecture VIII /22/25

More information

On a nested refinement of anisotropic tetrahedral grids under Hessian metrics

On a nested refinement of anisotropic tetrahedral grids under Hessian metrics On a nested refinement of anisotropic tetrahedral grids under Hessian metrics Shangyou Zhang Abstract Anisotropic grids, having drastically different grid sizes in different directions, are efficient and

More information

arxiv: v1 [math.na] 7 Jan 2016

arxiv: v1 [math.na] 7 Jan 2016 High quality local interpolation by composite parametric surfaces Michele Antonelli a Carolina Vittoria Beccari b Giulio Casciola b a Department of Mathematics University of Padova Via Trieste 63 35121

More information

A TESSELLATION FOR ALGEBRAIC SURFACES IN CP 3

A TESSELLATION FOR ALGEBRAIC SURFACES IN CP 3 A TESSELLATION FOR ALGEBRAIC SURFACES IN CP 3 ANDREW J. HANSON AND JI-PING SHA In this paper we present a systematic and explicit algorithm for tessellating the algebraic surfaces (real 4-manifolds) F

More information

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics Parametric Curves University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Parametric Representations 3 basic representation strategies: Explicit: y = mx + b Implicit: ax + by + c

More information

Module: 2 Finite Element Formulation Techniques Lecture 3: Finite Element Method: Displacement Approach

Module: 2 Finite Element Formulation Techniques Lecture 3: Finite Element Method: Displacement Approach 11 Module: 2 Finite Element Formulation Techniques Lecture 3: Finite Element Method: Displacement Approach 2.3.1 Choice of Displacement Function Displacement function is the beginning point for the structural

More information

Chapter 15 Introduction to Linear Programming

Chapter 15 Introduction to Linear Programming Chapter 15 Introduction to Linear Programming An Introduction to Optimization Spring, 2015 Wei-Ta Chu 1 Brief History of Linear Programming The goal of linear programming is to determine the values of

More information

Approximating Polygonal Objects by Deformable Smooth Surfaces

Approximating Polygonal Objects by Deformable Smooth Surfaces Approximating Polygonal Objects by Deformable Smooth Surfaces Ho-lun Cheng and Tony Tan School of Computing, National University of Singapore hcheng,tantony@comp.nus.edu.sg Abstract. We propose a method

More information

Linear Precision for Parametric Patches

Linear Precision for Parametric Patches Department of Mathematics Texas A&M University March 30, 2007 / Texas A&M University Algebraic Geometry and Geometric modeling Geometric modeling uses polynomials to build computer models for industrial

More information

Splines. Parameterization of a Curve. Curve Representations. Roller coaster. What Do We Need From Curves in Computer Graphics? Modeling Complex Shapes

Splines. Parameterization of a Curve. Curve Representations. Roller coaster. What Do We Need From Curves in Computer Graphics? Modeling Complex Shapes CSCI 420 Computer Graphics Lecture 8 Splines Jernej Barbic University of Southern California Hermite Splines Bezier Splines Catmull-Rom Splines Other Cubic Splines [Angel Ch 12.4-12.12] Roller coaster

More information

Surface Parameterization

Surface Parameterization Surface Parameterization A Tutorial and Survey Michael Floater and Kai Hormann Presented by Afra Zomorodian CS 468 10/19/5 1 Problem 1-1 mapping from domain to surface Original application: Texture mapping

More information

9. Three Dimensional Object Representations

9. Three Dimensional Object Representations 9. Three Dimensional Object Representations Methods: Polygon and Quadric surfaces: For simple Euclidean objects Spline surfaces and construction: For curved surfaces Procedural methods: Eg. Fractals, Particle

More information

G 2 Bezier Crust on Quad Subdivision Surfaces

G 2 Bezier Crust on Quad Subdivision Surfaces Pacific Graphics (2013) B. Levy, X. Tong, and K. Yin (Editors) Short Papers G 2 Bezier Crust on Quad Subdivision Surfaces paper 1348 Figure 1: Two examples of Bezier crust applied on Catmull-Clark subdivision

More information

SOLVING PARTIAL DIFFERENTIAL EQUATIONS ON POINT CLOUDS

SOLVING PARTIAL DIFFERENTIAL EQUATIONS ON POINT CLOUDS SOLVING PARTIAL DIFFERENTIAL EQUATIONS ON POINT CLOUDS JIAN LIANG AND HONGKAI ZHAO Abstract. In this paper we present a general framework for solving partial differential equations on manifolds represented

More information

C 1 Quintic Spline Interpolation Over Tetrahedral Partitions

C 1 Quintic Spline Interpolation Over Tetrahedral Partitions C 1 Quintic Spline Interpolation Over Tetrahedral Partitions Gerard Awanou and Ming-Jun Lai Abstract. We discuss the implementation of a C 1 quintic superspline method for interpolating scattered data

More information