Test points for membership in a mesh.
Create a RegionMemberFunction to test membership for a large set of points.
The same can be done in 3D.
Try Buy Mathematica is available on Windows, macOS, Linux & cloud »
Questions? Comments? Contact a Wolfram expert »