bloqade.geometry.dialects.grid.y_bounds
← Module overview
function
source
functiony_bounds¶source
bloqade.geometry.dialects.grid.y_bounds
def y_bounds(grid: Grid[typing.Any, typing.Any]) -> tuple[float, float]Get the y bounds of a grid.
Returns: tuple[float, float]: a tuple of (min_y, max_y) tuple[None, None]: if the grid has no initial y position
Parameters
| Name | Type | Description |
|---|---|---|
grid | Grid[typing.Any, typing.Any] | a grid object |
Returns
tuple[float, float]