differt_core.geometry module

differt_core.geometry module#

Geometry utilities used by differt.geometry.

Mesh

A lower-level mesh made of triangles.

TriangleMesh(*args, **kwargs)

Deprecated alias for Mesh.

Scene

Scene

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

TriangleScene(*args, **kwargs)

Deprecated alias for Scene.

Sionna compatibility layer

Fast and low-memory functions to read Sionna scenes.

Fast because written in Rust and uses the extremely performant quick_xml library.

Low-memory because it only stores the minimal amount of information to reproduce Sionna scenes, and skips the rest (e.g., display information).

As filepaths to shapes are relative to the initial XML config file, it is preferred to directly use load_xml from another scene class, like Scene.

Material

A basic material, that can be linked to EM properties.

Shape

A shape, that is part of a scene.

SionnaScene

A scene as loaded from a Sionna-compatible XML file.

Graphs

CompleteGraph(num_nodes)

A complete graph, i.e., a simple undirected graph in which every pair of distinct nodes is connected by a unique edge.

DiGraph

A directed graph.

Iterators

AllPathsFromCompleteGraphIter

An iterator over all paths in a complete graph.

AllPathsFromDiGraphIter

An iterator over all paths in a directed graph.

AllPathsFromCompleteGraphChunksIter

An iterator over all paths in a complete graph, as array chunks.

AllPathsFromDiGraphChunksIter

An iterator over all paths in a directed graph, as array chunks.