RegionRelation

References
public enum RegionRelation
Enumerates the possible containment relationships between a point and a region.

Enum values

NameValueDescription
Outside0Point is outside of the outer boundary.
Inside1Point is inside the outer boundary, and not inside any of the inner boundaries.
OnOuter2Point is coincident with the outer boundary, within tolerance.
OnInner3Point is coincident with an inner boundary, within tolerance.
InHole4Point is inside one of the inner boundaries. Note that this also means that the point is outside of the region.