upxo.meshing.gbconformant.d3v2p1.facet_angles module

d3v2p0.facet_angles.small_facet_angles with the edge table built from integer keys.

The result is d3v2p0’s, element for element. The edge table (see mesh_tables.EdgeIncidence) can be passed in by a caller that checks many coordinate sets on one connectivity, so it is built once.

upxo.meshing.gbconformant.d3v2p1.facet_angles.small_facet_angles(points, triangles, minimum_degrees=0.1, incidence=None)[source]

Return facet pairs and opening angles below the requested threshold.

Uses opposite-vertex rays projected perpendicular to each shared edge. Coplanar neighbouring triangles on opposite sides have a valid 180 degree opening; coincident same-side sheets have zero opening. Junction edges with three or more incident facets are checked pairwise as well. incidence: the EdgeIncidence of triangles when the caller has it (None builds it).