Periodically finding origin using Triangulation_3::adjacent_vertices #8702
-
Hi I am using adjacent_vertices to find the neighbour vertices in a Delauney triangulated mesh, however, I am peridically get origin returned, but the mesh doesnt have origin.
the example output is here: triangulated a 8 nodes mesh, The grid point is the mesh node and the adjecent point should be the neighours. but as you noticed, each query return this point: (6.46864e-310, 0, 0). what could be the cause?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This point doesn't have "origin" as coordinate, but initialized values; it is the infinite vertex. See User Manual for explanations. You can use T3::finite_adjacent_vertices to exclude that special vertex from the neighborhood. |
Beta Was this translation helpful? Give feedback.
This point doesn't have "origin" as coordinate, but initialized values; it is the infinite vertex. See User Manual for explanations.
You can use T3::finite_adjacent_vertices to exclude that special vertex from the neighborhood.