Testing Membership 

Test points for membership in a mesh.

In[1]:=
Click for copyable input
X
In[2]:=
Click for copyable input
X
Out[2]=

Create a RegionMemberFunction to test membership for a large set of points.

show complete Wolfram Language input
Out[3]=

The same can be done in 3D.

show complete Wolfram Language input
Out[4]=
de es ja pt-br zh