grid_floor¶
- photonforge.grid_floor(value)¶
Snap the value to the current grid rounding towards \(-\infty\).
- Parameters:
value (float | Sequence[float] | Sequence[Sequence[float]]) – Value or sequence of values to snap.
- Returns:
Value snapped to the grid.
- Return type:
float | ndarray
See also