The is_hit function uses the obbTree IntersectWithLin:
|
code = obb_tree.IntersectWithLine(source, target, None, None) |
.
The default version of this uses a tolrerance of 0.01 (https://vtk.org/doc/nightly/html/classvtkOBBTree.html#details).
If using meshes in mm then this isn't an issue. But, if using a mesh in m then cartilage thickness is 0.001 to 0.004m. is less thant he tolerance, and the intersections may not be found.
The is_hit function uses the obbTree IntersectWithLin:
pymskt/pymskt/mesh/utils.py
Line 34 in b79fae9
The default version of this uses a tolrerance of 0.01 (https://vtk.org/doc/nightly/html/classvtkOBBTree.html#details).
If using meshes in mm then this isn't an issue. But, if using a mesh in m then cartilage thickness is 0.001 to 0.004m. is less thant he tolerance, and the intersections may not be found.