RXMesh icon indicating copy to clipboard operation
RXMesh copied to clipboard

Question about VV Query Oriented Mode and Non-Manifold Mesh Support

Open will-zzy opened this issue 4 months ago • 1 comments

Hello! I noticed that when RXMesh performs a v_v query (vertex as the seed and vertex as the iterator — which, algorithmically, does not require the mesh to be manifold), the implementation assumes the mesh is manifold if oriented iteration is needed.

I would like to ask: Is manifoldness strictly required when using the oriented iterator? Or, alternatively, could non-manifold meshes be supported simply by replacing this part of the code with block_mat_transpose?

will-zzy avatar Dec 10 '25 03:12 will-zzy

The reason we assume manifoldness with oriented VV is that there is no canonical orientation for non-manifold meshes. Orientation can be either clockwise or counterclockwise but for non-manifold meshes it is not possible to establish a consistent orientation. We are also not aware of any application/use case that requires oriented VV on a non-manifold mesh (since non-manifold geometry usually requires special treatment)

Ahdhn avatar Dec 10 '25 16:12 Ahdhn