RegionMember

RegionMember[reg,{x,y,}]

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

RegionMember[reg,{x,y,}]

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

RegionMember[reg]

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

Details

  • 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.

Examples

open allclose all

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]=

Scope  (21)

Applications  (6)

Properties & Relations  (5)

See Also

Element  RegionMemberFunction  RegionDistance  SignedRegionDistance  RegionEqual  RegionWithin  MemberQ

Introduced in 2014
(10.0)