A scalar field assigns one scalar, or real number, to every point in a domain. Unlike a vector field, it records a value rather than a direction and magnitude. In geometric modeling, the domain is ℝᴺ and the codomain is ℝ. section 2.4.2
Signed distance fields
A signed distance function (SDF) is a scalar field that gives every point in space its distance from a curve or surface. The sign adds geometric meaning: points outside a body receive positive values, while points inside receive negative values. SDF representations support efficient CAD operations and can help turn a solid model into a hollow shell. section 2.4.2
Use the SDF illustration to connect a scalar value at each point with inside/outside geometry. section 2.4.2
