-
build_surface_mesh(city: City, lod: GeometryType =
GeometryType.LOD1
, min_building_detail: float =0.5
, min_building_area: float =15.0
, merge_buildings: bool =True
, merge_tolerance: float =0.5
, building_mesh_triangle_size: float =2.0
, max_mesh_size: float =10.0
, min_mesh_angle: float =25.0
, merge_meshes: bool =True
, smoothing: int =0
, sort_triangles: bool =False
) Mesh [source] Build a mesh from the surfaces of the buildings in the city.
- Parameters:¶
- city : dtcc_model.City¶
The city to build the mesh from.
- min_building_detail : float, optional¶
The minimum detail of the buildin to resolve, by default 0.5.
- min_building_area : float, optional¶
The smallest building to include, by default 15.0.
- merge_buildings : bool, optional¶
merge building footprints, by default True.
- max_mesh_size : float, optional¶
The maximum size of the mesh, by default 1.0.
- min_mesh_angle : float, optional¶
The minimum angle of the mesh, by default 30.0.
- merge_meshes : bool, optional¶
Whether to merge the meshes to a single mesh, by default True.
- smoothing : float, optional¶
The smoothing of the mesh, by default 0.0.
- Return type:¶
dtcc_model.Mesh