andersch.dev

<2024-07-07 Sun>

Signed Distance Function

In mathematics, a signed distance function (SDF) returns the distance of a given point x to the boundary of a geometric shape. The sign determines whether or not x is inside (+) or outside (-) the shape, although the meaning of the sign depends on the chosen convention.

Resources