Problemadvanced
N-sided patch
Also called multi-sided patch, n-sided hole filling.
Fill a hole bounded by n curves, n other than four, with a smooth surface that meets the surrounding patches with tangent or curvature continuity.
The n-sided patch problem asks for a surface that fills a region bounded by curves, where is three, five or more, so that it joins the surfaces around it smoothly. Such regions appear in every network of curves that is not a grid: at a corner of a solid where three rounded edges meet, at the end of a feature line, and where a designer draws a curve network with five sided faces. For the problem is solved by Coons patches and tensor product patches, which is why the case of other has its own name. There is no single best answer: the problem fixes the boundary and the tangent planes along it, and leaves the interior free, so each method is a choice of interior shape. This page is about parametric surfaces with given boundary curves, not about the filling of holes in triangle meshes, which adds triangles to close a gap in a mesh.
In plain words
Picture a frame made of bent wire with three, five or six sides, and the smooth panels of a car body all around it. The task is to stretch a skin over the frame so that the skin touches each wire and meets the panels next to it without a crease. Four sided frames are easy, because the standard surface patches of design software have four sides. Other frames do not fit those patches directly. One can cut the frame into four sided pieces and fill each piece, or one can use a special patch that has as many sides as the frame. Either way, the corners need care: where two wires meet, the skin has one tangent plane, and the data from the two wires must agree there.
Definition
Input. An integer . Boundary curves , with indices modulo , that form a closed loop: . For the tangent version, a cross boundary field along each curve, with not parallel to . The pair of and is the ribbon of side , and it usually comes from the adjacent surface.
Output. A domain with sides, usually a convex polygon with corners , maps onto its sides, and a surface that is continuously differentiable and regular, , with
- for all and (position);
- for the tangent version, the tangent plane of at is spanned by and for all and , which is tangent plane continuity with the adjacent surfaces;
- for the curvature version, also equal normal curvatures with the adjacent surfaces along the boundary.
The problem has infinitely many solutions when it has one, since any small change of that vanishes to first order along the boundary keeps the conditions. A method picks one, and its quality is judged by fairness measures, which are design criteria and not part of the statement. No formal objective is accepted by all authors.
Variants
- Positional only. Only the boundary curves are given. A transfinite blend of the curves, such as a generalized Coons scheme, is enough.
- Tangent continuous. The usual case in CAD, with the ribbons of condition 2.
- Curvature continuous. Condition 3 is added, for class A surfaces in car design.
- Single patch or split. Some applications require one patch with sides; others accept a set of four sided or three sided patches inside the hole.
- Representation. The result may be required to be polynomial, rational, a B-spline surface for exchange with other systems, or any parametric surface.
- Concave or curved domains. When the boundary loop is far from convex, a convex polygon domain gives a poor parametrization, and curved domains are used.
Examples
The octant of a sphere. The hole is bounded by three quarter circles of the unit sphere in the coordinate planes, and the ribbons are the tangent planes of the sphere. The octant is a solution. No solution is a polynomial surface, because its restriction to a side of the polygon would be a polynomial curve that runs along a quarter circle, and no such curve exists. Proof: in the plane of the circle, let for all in an interval, with real polynomials and that are not both constant. A polynomial that is zero on an interval is zero everywhere, so the equation holds for all . Let be the larger degree, with leading coefficients and of , one of which is not zero. The coefficient of on the left is , but on the right it is . So exact solutions need rational patches, and a polynomial patch can only approximate this hole.
The corner of a box. Round the three edges at a corner of a box with three blend surfaces. The blends overlap near the corner, and a hole remains whose boundary consists of curves on the blends and, if the blends are set back, curves on the faces. The vertex blend page treats this case.
A five sided face. A designer draws a curve network for a car body, and one face of the network has five sides. Charrot and Gregory gave an interpolant over a pentagon for this situation in 1984.
Corner data that does not fit. If and are parallel at a corner, no solution over a polygon domain exists, by the theorem in the section on bounds.
Known algorithms
| Method | Pieces | Continuity with neighbours | Notes |
|---|---|---|---|
| Central split into four sided patches | between all patches | standard patches, but inner joins need extra conditions | |
| Gregory patches in the split | rational corner blends remove the need for compatible twists | ||
| Charrot and Gregory pentagon | 1 | matches the side data | interpolant over a pentagon that fits a rectangular patch layout |
| S-patch of Loop and DeRose | 1 | joins of S-patches | Bézier type control net over a polygon, many control points |
| Transfinite ribbon schemes | 1 | , some | blend the ribbons with weights over a polygon domain |
| Generalized Bézier patch | 1 | to Bézier neighbours | control net with layers, like a tensor product net |
| Subdivision surfaces | many | at extraordinary points | Catmull-Clark or Doo-Sabin around a point of valence |
| Energy minimization | any | as constrained | energy-based fairing picks the interior |
Central split. Choose a centre point and a curve from it to a point on each side, which cuts the hole into four sided regions. Fill each with a four sided patch. The patches must meet each other with tangent plane continuity along the inner curves, and at the centre all of them share one tangent plane. Twist compatibility at the corners of the small patches is the main difficulty, which Gregory patches avoid with rational blends.
Single patch over a polygon. Map each point of a convex polygon domain to local parameters for each side: a parameter along the side and a distance from it. These can come from generalized barycentric coordinates, such as Wachspress or mean value coordinates. Each side defines a ribbon surface in its own local parameters, which meets the side data exactly. A weighted sum of the ribbons, with weights that make each ribbon dominant near its own side, gives the patch. The weights must be chosen so that the first derivatives across each side come from that side alone, which is what keeps condition 2.
Bounds
The problem has no lower bound on running time in the usual sense: each method evaluates a closed form or solves a fixed linear system, and its cost depends on the representation. What the problem does have is necessary conditions on the input.
Theorem (corner conditions). Let be a solution with tangent continuity over a convex polygon domain, regular and continuously differentiable up to the corner , where sides and meet. Then and are not parallel, the tangent plane at the corner is the plane that they span, and and lie in .
Proof. By condition 1 and the chain rule, and . The vectors and are independent, because the polygon is convex and the corner is a real corner. Since is regular, is injective, so the images are independent, and they span the image of , which is the tangent plane. By condition 2, lies in the tangent plane at , and the tangent plane is continuous, so lies in the plane at . The same holds for .
If is also twice continuously differentiable at the corner, the mixed derivatives defined by the two ribbons must agree, which is the condition of twist compatibility. Rational schemes such as the Gregory patch drop the second derivative continuity at the corner and so drop this condition.
Reductions
- To four sided patches. The central split reduces one sided hole to four sided holes, plus conditions between them. For the problem is the Coons patch problem.
- To triangles. Splitting from a centre point into triangles reduces the problem to Bézier triangles with conditions between them.
- From vertex blends. The corner where several blends meet in a solid is an instance, which is how vertex blends are built.
- From curve networks. Surfacing a curve network with faces of any number of sides is a set of instances that share ribbons along common curves.
Applications
- Vertex blends and corner fills in boundary representation solid modelers.
- Surfacing curve networks in car body and product design, where faces with three or five sides are common.
- Closing the region around a point where three or more surfaces meet after a trim, for example in blending surfaces.
- Converting subdivision surfaces or meshes with extraordinary vertices into patches for CAD exchange.
References
- Peter Charrot and John A. Gregory, A pentagonal surface patch for computer aided geometric design, Computer Aided Geometric Design 1(1), 87 to 94, 1984, an interpolant over a pentagon that is compatible with patches on rectangular domains
- Charles T. Loop and Tony D. DeRose, A multisided generalization of Bézier surfaces, ACM Transactions on Graphics 8(3), 204 to 234, 1989, S-patches over a convex polygon, defined with generalized barycentric coordinates
- Tamás Várady, Péter Salvi and György Karikó, A multi-sided Bézier patch with a simple control structure, Computer Graphics Forum 35(2), 307 to 317, 2016, the Generalized Bézier patch and its tangent plane continuous connection to adjacent Bézier surfaces
- Tamás Várady, Péter Salvi and Márton Vaitkus, Genuine multi-sided parametric surface patches, a survey, Computer Aided Geometric Design 110, 102286, 2024, survey of single patch representations over multi-sided domains (general locator)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag PFHCJJ Edit this page History Report an error Markdown