We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This could use ray casting.
fn mesh_contains_point<T: RealField>(mesh: &TriMesh<T>, point: &Point3<T>) -> bool { if !mesh.aabb().contains_local_point(point) { return false; } match mesh.toi_and_normal_with_ray( &Isometry3::identity(), &Ray::new(*point, Vector::new(T::one(), T::zero(), T::zero())), false, // unused ) { Some(intersection) => mesh.is_backface(intersection.feature), None => false, } }
The text was updated successfully, but these errors were encountered:
Note some weirdness around handling of intersection with edges in that workaround.
Sorry, something went wrong.
solid
No branches or pull requests
This could use ray casting.
Workaround
Issues
The text was updated successfully, but these errors were encountered: