liveBook · Manning

Continuous function

As explained in Geometry for Programmers

Continuity is the property of a function having no excluded domain points within its intended domain and no abrupt changes in value.

Continuity describes a function that has no excluded input points within its intended domain and no abrupt changes in output. The sine function is continuous, while tangent has excluded inputs and floor changes by jumps despite being defined everywhere. This makes continuity especially useful when modeling curves and surfaces. section 2.4.1

Use these comparisons to test the idea:

  • Sine accepts its inputs without breaks and changes smoothly; tangent excludes points such as π/2 + iπ. section 2.4.1
  • Floor accepts every real input but returns truncated integer values, producing abrupt jumps. section 2.4.1
  • Continuity applies to real-valued functions; it is not treated as a property over integers in the exercise solutions. section 2.7

Spline degree controls a trade-off between smoothness and the number of curve segments. First-degree NURBS form continuous but nonsmooth polylines; second-degree NURBS provide C1 continuity, third-degree provide C2, and fourth-degree provide C3. With N control points and degree M, the pattern yields N−M segments and C(M−1) continuity. section 7.3.1

Figure 7.21 NURBS of degrees 3 and 4 on the same data set as before. When raising the degree, we trade the number of segments for continuity.
07-21

Compare third- and fourth-degree NURBS on the same control data to see continuity increase while available segments decrease. section 7.3.1

How Geometry for Programmers covers it

How deep it goes
Defines continuity intuitively, contrasts domain gaps and jumps, and extends treatment through C1, C2, and C3 spline continuity without formal definition.
Examples
Uses sine, tangent, floor, polylines, and degree-varied NURBS to illustrate continuity and smoothness.
What it assumes
Assumes familiarity with functions, inputs, outputs, domains, and real numbers while building continuity intuition from elementary examples.
What you can do after
Evaluate whether functions and spline curves contain gaps, jumps, or stated levels of continuity.
How it connects
Connects continuity to functions, domain, codomain, geometry, polynomial splines, and NURBS.

Also explained in

Compare how 2 books explain continuous function →

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.