Edge properties API
pyvoro2.edge_properties
Edge-level geometric properties for planar cells.
annotate_edge_properties(cells, domain, *, tol=1e-12)
Annotate 2D edges with basic geometric descriptors in-place.
Added edge fields (when computable): - midpoint: [x, y] - tangent: [tx, ty] unit tangent from vertex[0] -> vertex[1] - normal: [nx, ny] unit normal oriented from site -> edge - length: float - other_site: [x, y] if the neighboring site can be resolved
:::