meshing.CrossingEdges

meshing.CrossingEdges()

Lattice edges whose endpoint field values straddle the isovalue.

Attributes

Name Type Description
axis np.ndarray Edge direction per edge, 0/1/2 for x/y/z, shaped (edge_count,).
index np.ndarray Lattice coordinates of each edge’s start vertex, shaped (edge_count, 3).
start_inside np.ndarray Whether the start vertex was inside (value < level) at detection time, shaped (edge_count,). Root refinement bisects against this frozen orientation, which keeps it robust when a lattice vertex lies exactly on the surface and its re-evaluated sign is float noise.