Question

I would like to know that how can we access all tetrahedrons incident on a vertex in a CGAL 3D triangulation?

I have seen cell() function for vertex, but it seems to allow access to one(arbitrarily selected?) tetrahedron only.

Était-ce utile?

La solution 2

I had trouble using the incident_cells() function as I was not sure how to use the OutputIterators. This CGAL forum discussion exactly answers my question(with a code example).

Autres conseils

The answer you are looking for should be TDS::incident_cells.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top