f4enix.output.cdgs.mesh_definitions.MeshByBinSize#
- class f4enix.output.cdgs.mesh_definitions.MeshByBinSize(bin_size: tuple[float, float, float], bbox: dict | None = None)#
Bases:
RegularMeshDefinitionBuild the structured mesh with constant voxels. Dimension will be based on the provided bin size.
- Parameters:
bin_size (tuple[float, float, float]) – Size of the bins in each dimension (x, y, z).
bbox (dict, optional) – Bounding box for the mesh. If None, the bounding box will be determined from the coordinates of the cloud points. The dictionary should have the following keys: “x_min”, “x_max”, “y_min”, “y_max”, “z_min”, “z_max”.
Methods
__init__(bin_size[, bbox])Build the structured mesh with constant voxels.