Computer aided geometric design Created 2026-10-14 Updated 2026-11-05
Computer aided geometric design develops representations and algorithms for creating, evaluating and modifying curves, parametric surfaces and solid geometry. A representation must support useful questions: where is a point on the shape, what is its tangent vector, do two pieces join smoothly, and can two objects intersect? Bézier curves, splines and subdivision surfaces trade local control, smoothness and computational cost in different ways.
For a simple Bézier curve, choose control points , and . Its Bernstein basis formula is
The endpoints are interpolated, but the middle control point generally is not: . Its position influences the bulge, while Bézier derivative control polygons specify endpoint tangents. This makes shape changes predictable from a small set of geometric inputs.[ref]
A boundary representation records how faces, edges and vertices join to enclose a solid; constructive solid geometry records Boolean combinations of primitive regions. These topological and geometric data play different roles. For computational queries, a bounding volume supplies a conservative approximation, while an exact limit representation or a controlled error bound is needed for reliable collision detection and intersection of subdivision limit surfaces.
// Target: geometry-and-topology.bigb
A subdivision surface enquiry acts on the limit surface, not just on the current control mesh. The basic subdivision surface interrogation operations are: enumerate initial patches and their topological adjacency; subdivide a patch into covering children with inherited boundary links; return conservative bounding volumes; estimate approximation error and, where available, normal variation; and evaluate limit positions and first derivatives or tangent data. Boundaries, creases and extraordinary subdivision vertices need explicit rules. Nonnegative convex subdivision weights can supply a local control-hull enclosure, but a scheme with negative weights needs another proved enclosure; an arbitrary control-mesh box is not automatically a bound on the limit.
The intersection of subdivision limit surfaces can be computed by a paired recursive search. Start with every relevant pair of root patches , along with their domains and adjacency identifiers:
  • If the certified bounding volumes of and are disjoint, discard the pair: their limit patches cannot intersect.
  • Otherwise refine the larger or less accurately approximated patch, replace the pair by its child pairs and repeat. Subdivide both when their scales are comparable. Preserve cross-patch adjacency information throughout the recursion.
  • When the two patches are sufficiently small and flat, form their approximating triangles or planar facets. For transverse configurations with verified error and normal bounds, triangle intersections give candidate line segments and seed locations. Empty polygonal intersection is not by itself an exclusion certificate for the true surfaces: near tangencies, close parallel patches or tiny internal loops require further subdivision or a validated test on the limit functions.
  • Correct the candidates onto both limit surfaces using limit-point and tangent enquiries, for example a local parameter chart and the predictor-corrector equations for transversal intersection of two parametric surfaces. Continue each resolved arc through adjacent leaves. Where a chart is unavailable, keep refining and produce an enclosure with a proved error bound rather than claim an exact point from the mesh.
  • Join arc endpoints using patch/parameter adjacency and verified shared-boundary matches, remove duplicate segments from adjacent patch pairs, orient each component and assemble the resulting open curves and closed loops. Purely spatial proximity is not enough to join two distinct nearby branches.
A termination criterion specifies geometric error and conditioning, not merely a fixed refinement depth. For isolated regular transverse components, shrinking limit enclosures and normal/error bounds permit reliable curve approximation. Candidate boxes cannot be discarded merely because no coarse edge has crossed another surface: a complete small closed component can lie in the interior. Tangency, coincident limit patches, creases and poorly conditioned extraordinary-point neighborhoods need special tests or must be reported as unresolved degenerate configurations. The intersection is that of the two subdivision limits; intersecting a finite refined mesh without error control only gives an approximation.