facebookresearch / facebookresearch/pytorch3d
Inside/Outside for watertight mesh?
Open
enhancement
- Dominant language
- Python
- Stars
- 10k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I would like to compute for a point in space it's inside or outside wrt my watertight mesh and then the distance to a face. I see that I can compute the latter by following [this](https://github.com/facebookresearch/pytorch3d/issues/193#issuecomment-627438317). How do I compute the `contains` [function](https://trimsh.org/trimesh.html#trimesh.Trimesh.contains) as in Trimsh? I could in principle do it with Trimsh but there seems to be [an open bug](https://github.com/mikedh/trimesh/issues/242) and I believe doing this in pytorch would be faster. Thank you.
Contributor guide
Assessment
This issue has not been assessed yet.