openworld_radio_twin.simulation.scene_builder#
Functions
|
|
|
|
|
Reconstruct the solver environment from a persisted scene asset directory. |
|
Restore the scene metadata needed by geographic and derived-asset helpers. |
|
|
|
Return the stable shared path for one receiver-grid definition. |
|
|
|
Rasterize the north-up receiver plane used by exports and the web API. |
|
Return compiled triangle elevation in the scene's local ENU frame. |
|
Convert a geographic TX position with AGL height to Sionna scene coordinates. |
|
Triangulate a simple polygon while retaining the legacy public helper. |
|
|
|
|
|
Write the sparse solid voxels and north-up receiver-height slice. |
Classes
|
|
|
|
|
|
|
Triangle mesh as Python lists or as |
|
|
|
- class openworld_radio_twin.simulation.scene_builder.Mesh(vertices, faces)[source]#
Bases:
objectTriangle mesh as Python lists or as
(n, 3)NumPy arrays; both serialize alike.
- class openworld_radio_twin.simulation.scene_builder.LocalBuilding(feature_id, exterior, holes, minimum_height_m, vertical_extent_m, terrain_anchor_m=0.0, anchor_surface_class=SurfaceClass.GROUND, native_vertices=(), native_triangles=(), native_surface_types=(), source_lod=None, source_vertical_datum=None, source_ground_elevation_m=None, parent_reference_elevation_m=None, parent_building_id=None, placement_rule='footprint_extrusion')[source]#
Bases:
object-
anchor_surface_class:
SurfaceClass= 0#
-
anchor_surface_class:
- openworld_radio_twin.simulation.scene_builder.localize_buildings(buildings, origin_longitude, origin_latitude, environment=None)[source]#
- Return type:
- class openworld_radio_twin.simulation.scene_builder.BuildingMeshAssets(index, feature_id, rooftop_path, wall_path, rooftop_triangles, wall_triangles)[source]#
Bases:
object
- class openworld_radio_twin.simulation.scene_builder.SceneAssets(directory, scene_xml_path, provenance_path, ground_path, terrain_paths, environment_metadata_path, height_map_path, building_assets, local_buildings, origin_longitude, origin_latitude, radius_m, height_map_pixel_size_m, triangle_count, environment, material_profile)[source]#
Bases:
object-
terrain_paths:
dict[SurfaceClass,Path]#
-
building_assets:
tuple[BuildingMeshAssets,...]#
-
local_buildings:
tuple[LocalBuilding,...]#
-
environment:
EnvironmentData|None#
-
terrain_paths:
- class openworld_radio_twin.simulation.scene_builder.VoxelAssets(directory, voxel_path, slice_path, scene_info_path, depth_array_path, depth_image_path, depth_preview_path, depth_info_path, pitch_m, slice_shape)[source]#
Bases:
object
- class openworld_radio_twin.simulation.scene_builder.MeasurementSurfaceAssets(path, cell_shape, triangle_areas_m2, cell_centers)[source]#
Bases:
object
- openworld_radio_twin.simulation.scene_builder.geographic_to_local(longitude, latitude, origin_longitude, origin_latitude)[source]#
- openworld_radio_twin.simulation.scene_builder.triangulate_polygon(points)[source]#
Triangulate a simple polygon while retaining the legacy public helper.
- openworld_radio_twin.simulation.scene_builder.write_measurement_surface(path, assets, resolution_m, receiver_height_m)[source]#
- Return type:
- openworld_radio_twin.simulation.scene_builder.terrain_elevation(assets, east_m, north_m)[source]#
Return compiled triangle elevation in the scene’s local ENU frame.
- Return type:
- openworld_radio_twin.simulation.scene_builder.transmitter_scene_position(assets, longitude, latitude, height_agl_m)[source]#
Convert a geographic TX position with AGL height to Sionna scene coordinates.
- openworld_radio_twin.simulation.scene_builder.measurement_surface_path(assets, resolution_m, receiver_height_m)[source]#
Return the stable shared path for one receiver-grid definition.
- Return type:
- openworld_radio_twin.simulation.scene_builder.load_environment_assets(directory)[source]#
Reconstruct the solver environment from a persisted scene asset directory.
- Return type:
- openworld_radio_twin.simulation.scene_builder.rasterize_local_footprint(building, radius_m, width, height)[source]#
- Return type:
- openworld_radio_twin.simulation.scene_builder.rasterize_receiver_slice(buildings, radius_m, receiver_height_m, pitch_m=3.0, environment=None)[source]#
Rasterize the north-up receiver plane used by exports and the web API.
- openworld_radio_twin.simulation.scene_builder.build_scene_assets(directory, buildings, origin_longitude, origin_latitude, radius_m, environment=None, include_ground=True, material_profile='itu')[source]#
- Return type:
- openworld_radio_twin.simulation.scene_builder.load_scene_assets(directory)[source]#
Restore the scene metadata needed by geographic and derived-asset helpers.
- Return type: