esriGeometryRelationEnum

Options to specify a spatial relationship operator. Used to evaluate the spatial relationship between geometries.

Value

Description

esriGeometryRelationCross

Two polylines cross if they share only points in common, at least one of which is not an endpoint. A polyline and an polygon cross if they share a polyline in common on the interior of the polygon which is not equivalent to the entire polyline. Cross is a Clementini operator. If either one of the geometries is empty, the geometries do not cross.

Cross

esriGeometryRelationDisjoint

Two geometries are disjoint if their intersection is empty. Two geometries intersect if disjoint is "false". Disjoint is a Clementini operator.

Disjoint

esriGeometryRelationIn

The base geometry is within the comparison geometry if the base geometry is the intersection of the geometries and the intersection of their interiors is not empty. Within is a Clementini operator. Within is the opposite operator of contains. An empty geometry is within another geometry, unless the other geometry is empty.

Relation in

esriGeometryRelationInteriorIntersection

Geometries intersect excluding boundary touch.

esriGeometryRelationIntersection

Geometry interiors intersect or boundaries touch, same as 'not disjoint'.

esriGeometryRelationLineCoincidence

The boundaries of the geometries must share an intersection, but the relationship between the interiors of the shapes is not considered (they could overlap, one could be contained in the other, or their interiors could be disjoint). This relation applies to polylines and polygons.

esriGeometryRelationLineTouch

Two geometries are said to touch when the intersection of the geometries is non-empty, but the intersection of their interiors is empty. This evaluates if the touch occurs along a boundary (not a point). Valid for polygons.

esriGeometryRelationOverlap

Two polylines share a common sub-line, or two polygons share a common sub-area. Overlaps is a Clementini operator. Two geometries do not overlap if either one is empty.

Overlap

esriGeometryRelationPointTouch

Two geometries are said to touch when the intersection of the geometries is non-empty, but the intersection of their interiors is empty. This evaluates if the touch occurs at a point (not a boundary).

esriGeometryRelationRelation

Allows specification of any relationship defined using the Shape Comparison Language.

esriGeometryRelationTouch

The union of "esriGeometryRelationPointTouch" and "esriGeometryRelationLineTouch". Two geometries are said to touch when the intersection of the geometries is non-empty, but the intersection of their interiors is empty. Touches is a Clementini operator. For example, a point touches a polyline only if the point is coincident with one of the polyline end points. If either one of the two geometries is empty, the geometries are not touched.

Touch

esriGeometryRelationWithin

Same as "esriGeometryRelationIn" but also allows polylines that are strictly on the boundaries of polygons to be considered "r;in" the polygon.

Remarks

This enumeration is used by a Geometry service Relation method.

2/28/2020