मुख्य सामग्री पर जाएँ

raygeo.mesh.types

PrismMesh​

GPU-ready prism mesh returned by build_prism_mesh.

Buffers are per-face-vertex (not shared). All getters return fresh numpy arrays: float32 positions (N, 3), float32 normals (N, 3), float32 UVs (N, 2) and flat uint32 triangle indices (3T,).

indices​

indices: Any

Flat triangle vertex indices as a uint32 array of shape (3T,).

normals​

normals: Any

Flat XYZ vertex normals as a float32 array of shape (N, 3).

positions​

positions: Any

Flat XYZ vertex positions as a float32 array of shape (N, 3).

uvs​

uvs: Any

Flat XY UV coordinates as a float32 array of shape (N, 2).

TriangleMesh​

adjacency​

adjacency: list[int]

boundary_tags​

boundary_tags: list[str]

triangles​

triangles: list[tuple[int, int, int]]

vertices​

vertices: list[tuple[float, float]]