RegionMember

RegionMember[reg,{x,y,}]
gives True if the numeric point is a member of the constant region reg and False otherwise.

RegionMember[reg,{x,y,}]
gives conditions for the point to be a member of reg.

RegionMember[reg]
returns a RegionMemberFunction[] that can be applied repeatedly to different points.

DetailsDetails

  • RegionMember is also known as point in region test, membership test, and membership conditions.
  • A constant region is a region where ConstantRegionQ[reg] gives True.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Test whether a particular point is in a region:

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

Get conditions for point membership:

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

Create RegionMemberFunction to apply to different points:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)