liveBook · Manning

Control point

As explained in Geometry for Programmers

A control point is a point whose position influences the shape or position of a spline or other parametric geometric representation.

A control point is a point whose position influences the shape or position of a spline or other parametric geometric representation. Bézier curves use control points to determine tangents, while NURBS use arrays of control points to guide curves and surfaces. section 7.2.4 section 7.3

Control points participate in several related design choices:

  • Increasing the NURBS degree trades the number of curve segments for continuity: N control points produce N−M segments of degree M with C(M−1) continuity. section 7.3.1
  • A knot vector determines parametric distances and can make selected control points interpolating rather than merely shaping the curve. section 7.3.2
  • Rational NURBS add weights, providing additional control for engineering curves and three-dimensional surfaces. section 7.2.4 section 7.3.5

Unbending a photographed page

A scanning application can let a user move control points over a bent page. A linear interpolation along one axis and cubic interpolation along the other then maps a standard square onto the photograph, preserving straightness in one direction while allowing bending in the other. section 8.1.3

Figure 7.22 Same control points, different knot vectors
07-22

Compare curves formed from identical control points but different knot vectors; the resulting interpolation and shaping behavior changes. section 7.3.2

How Geometry for Programmers covers it

How deep it goes
Explains control-point influence through Bézier and NURBS geometry, degree, continuity, knot vectors, and weights, but defers deep library-level implementation.
Examples
Illustrates control points with polylines, smooth NURBS of varying degrees, alternate knot vectors, and a page-unbending transformation.
What it assumes
Assumes familiarity with basic curves and interpolation while building NURBS terminology through parallels with Bézier and polynomial splines.
What you can do after
Evaluate/understand how moving points, changing degree, choosing knots, and adding weights alter spline shape and continuity.
How it connects
Connects control points to splines, Bézier curves, polynomial splines, NURBS, knot vectors, rational functions, and interpolation.

Also explained in

Compare how 4 books explain control point →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Geometry for Programmers. The section links point to the parts of the book it draws on.