upxo.meshing.gbconformant.d3v2p0.tet_angles module
Dihedral angles of linear tetrahedra.
- upxo.meshing.gbconformant.d3v2p0.tet_angles.dihedral_angles_xyz(x)[source]
Interior dihedral angles (degrees) of tets given as coordinates.
x has shape (…, 4, 3); the result has shape (…, 6), one angle per edge in the order (0,1), (0,2), (0,3), (1,2), (1,3), (2,3).
- upxo.meshing.gbconformant.d3v2p0.tet_angles.dihedral_angles(points, tetrahedra, batch_size=500000)[source]
Interior dihedral angles (degrees), shape (n, 6), one per tet edge.
The angle at an edge is the angle between the two faces sharing it, measured inside the tetrahedron. A regular tetrahedron gives 70.53 degrees at every edge; slivers and needles give angles near 0 or 180.