Maps a normalized boundary value to a radius.
The decoder is responsible for evaluating the scalar field. This method defines how boundary values are interpreted as geometric distances from the origin.
Boundary value in the range [0,1].
Radius in world units.
This mapping is not part of the core decoding algorithm. It's part of the interpretation of the boundary field.
Current implementation is:
Later other approaches could be implemented:
The radial decoder itself doesn't care — it just needs to determine "what radius corresponds to this boundary value?" Separating that concern will make the function easier to extend without modifying the core decoding logic.
Evaluates the signed scalar field.
A signed value where
Constructs a continuous 3D scalar field by projecting a spherical BoundaryField surface outward from a central point in 3D space.
The boundary values are projected into an inner volume, or onto a flat surface depending on the sampled geometry, providing a simple model for transforming 2D boundary data into 3D space.