The idea
Take any function that assigns a number to every point of a surface — elevation on terrain, pressure on a weather map, temperature in a simulation, signal strength around an antenna. Pick a value, say 1500 m. The set of points where the function equals exactly that value forms one or more curves: the isocurve (from Greek isos, “equal”) at level 1500.
Different fields name the same object differently: contour line (cartography), isoline (meteorology: isobar, isotherm), level set (mathematics). In 3D, the same construction on a volume yields an isosurface — the shape a CT scanner’s bone-density threshold carves out of a scan, for example.
Key properties
On a continuous field, isocurves are closed — they either loop back on themselves or exit the domain boundary. They never cross each other (a point can’t have two values), and curves of different levels nest: the 1600 m contour lies entirely inside some 1500 m contour. That nesting is real information — it’s what makes filled contour maps, containment queries (“which basin is this sensor in?”), and label placement possible.
How they’re computed
The input is usually a discrete grid of samples. The classic algorithm, marching squares, inspects every grid cell, finds edges the iso-value crosses, and emits small line segments — which then need to be stitched into curves and organized into a nesting hierarchy by post-processing.
Modern output-sensitive approaches instead trace curves directly, visiting only the cells that produce geometry and emitting ordered, nested, closed curves as a byproduct of the traversal — the approach behind the isosweep engine. The difference matters when fields are large, sparse, or need re-contouring every frame: see output-sensitive contouring explained.