differt_core.scene.TriangleScene#
- class TriangleScene#
Bases:
objectA scene that contains one mesh, usually being the results of multiple call to
TriangleMesh.append.This class is only useful to provide a fast constructor for scenes created using the Sionna file format.
Attributes
The scene mesh.
Methods
load_xml(file)Load a scene from a Sionna-compatible XML file.
Detailed documentation
- classmethod load_xml(file)#
Load a scene from a Sionna-compatible XML file.
- Parameters:
file (str) – The path to the XML file.
- Returns:
The corresponding scene.
- Return type:
- mesh#
The scene mesh.