|
ViennaLS
|
Functions | |
| template<class T> | |
| T | clampLevelSetPhi (T v) |
| Clamp HRLE far-field sentinels (±DBL_MAX) to ±1 before differencing to prevent DBL_MAX² overflow that silently returns the zero vector. | |
| template<class T> | |
| T | levelSetCrossingDistance (T insidePhi, T outsidePhi, T minBoundaryFraction, T gridDelta) |
Clamp HRLE far-field sentinels (±DBL_MAX) to ±1 before differencing to prevent DBL_MAX² overflow that silently returns the zero vector.