voxcity.simulator_gpu.visibility.workspace.SurfaceViewWorkspaceKey

class voxcity.simulator_gpu.visibility.workspace.SurfaceViewWorkspaceKey

Immutable key for reusable building-surface visibility fields.

face_capacity is bucketed (rounded up) so that candidate meshes whose open-air face counts vary slightly all reuse one allocation instead of creating a fresh workspace per exact n_faces.

shape: Tuple[int, int, int]
meshsize: float
face_capacity: int
n_azimuth: int
n_elevation: int
ray_sampling: str
n_rays: int | None