Closed akenmorris closed 1 year ago
The current algorithm for determining a point being inside or outside a mesh relies on a dot product with the normal of the closest face. While this is fast, it can be incorrect in some cases:
The distance values are correct, but the sign is wrong.
We should try this instead:
https://vtk.org/doc/nightly/html/classvtkSelectEnclosedPoints.html
Example data attached:
problemDTConv.zip
The current algorithm for determining a point being inside or outside a mesh relies on a dot product with the normal of the closest face. While this is fast, it can be incorrect in some cases:
The distance values are correct, but the sign is wrong.
We should try this instead:
https://vtk.org/doc/nightly/html/classvtkSelectEnclosedPoints.html
Example data attached:
problemDTConv.zip