upxo.meshing.gbconformant.d3v2p0.surface_intersections module

Geometric triangle intersections, excluding shared mesh vertices/edges.

upxo.meshing.gbconformant.d3v2p0.surface_intersections.find_surface_intersections(points, triangles, tolerance=None, batch_size=256, triangle_ids=None)[source]

Return intersecting triangle index pairs, using a bounded-memory search.

Adjacent triangles are still checked: sharing one node does not permit them to cross elsewhere. Tests include coplanar overlap and vertex/facet contact. This uses floating-point tolerances, not exact arithmetic predicates.