(1) Using PolyInfo
one can get the unique edge index that is between 2 polygons of a mesh (via Neighbor::GetPolyInfo
).
(2) Using Neighbor::GetEdgePolys
one could obtain the 2 polygons sharing the edge defined by 2 points making up the edge between these 2 polygons ... or only the one polygon if this edge is at the boundary o the mesh.
But is there a way to go from a unique edge index - obtained via (1) - back to the polygons sharing that edge, without the need of iterating over all polygons and finding out if a polygon has the specified unique edge index as one of its edges via (1) ?