Pranav
Pranav

Reputation: 475

Access all tetrahedrons incident on a vertex

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.

Upvotes: 0

Views: 135

Answers (2)

olivier
olivier

Reputation: 221

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

Upvotes: 4

Pranav
Pranav

Reputation: 475

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).

Upvotes: 1

Related Questions