differt_core.scene.Scene

differt_core.scene.Scene#

class Scene#

Bases: object

A scene that contains one mesh, usually being the results of multiple call to Mesh.append.

This class is only useful to provide a fast constructor for scenes created using the Sionna file format.

Attributes

mesh

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:

Scene

mesh#

The scene mesh.

Type:

differt_core.geometry.Mesh