isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.28k stars 2.28k forks source link

Feature Request: No property to access vertex neighbors in HalfEdgeTriangleMesh #3154

Open ebeyabraham opened 3 years ago

ebeyabraham commented 3 years ago

Is your feature request related to a problem? Please describe. HalfEdgeTriangleMesh does not have any feature to compute the vertex neighbours. This leaves the tedious option of computing the 1-ring neighbours using the edge information.

Describe the solution you'd like A class property to access vertex neighbours.

benjaminum commented 2 years ago

Would you be interested to contribute this feature? Please let me know, closing this issue until then.

ebeyabraham commented 2 years ago

@benjaminum Sure, I would like to take this up, but I am not sure how to contribute. Do I just add a function here : cpp/open3d/geometry/HalfEdgeTriangleMesh.cpp ?

benjaminum commented 2 years ago

@MrGrayCode Yes that is the right file. Python binding code will be in another file. Can you provide a small code example (python and/or c++) of how the property would be used?