IRelationalOperator2 Interface

Additional relational functions.

Members

Name Description
Method Contains Indicates if this geometry contains the other geometry.
Method ContainsEx Indicates if this geometry contains the other geometry, optionally using Celementini's definition.
Method Crosses Indicates if the two geometries intersect in a geometry of lesser dimension.
Method Disjoint Indicates if the two geometries share no points in common. Negate this result to compute the Intersect relation.
Method Equals Indicates if the two geometries are of the same type and define the same set of points in the plane.
Method IsNear Indicates if this geometry is within distance from the other geometry.
Method Overlaps Indicates if the intersection of the two geometries has the same dimension as one of the input geometries.
Method Relation Indicates if the defined relationship exists.
Method Touches Indicates if the boundaries of the geometries intersect.
Method Within Indicates if this geometry is contained (is within) another geometry.
Method WithinEx Indicates if this geometry contains the other geometry, optionally using Celementini's definition.

IRelationalOperator2.ContainsEx Method

Indicates if this geometry contains the other geometry, optionally using Celementini's definition.

Public Function ContainsEx ( _
    ByVal pOther As IGeometry, _
    ByVal Relation As esriSpatialRelationExEnum _
) As Boolean
public bool ContainsEx (
    IGeometry pOther,
    esriSpatialRelationExEnum Relation
);

IRelationalOperator2.IsNear Method

Indicates if this geometry is within distance from the other geometry.

Public Function IsNear ( _
    ByVal pOther As IGeometry, _
    ByVal distance As Double _
) As Boolean
public bool IsNear (
    IGeometry pOther,
    double distance
);

IRelationalOperator2.WithinEx Method

Indicates if this geometry contains the other geometry, optionally using Celementini's definition.

Public Function WithinEx ( _
    ByVal pOther As IGeometry, _
    ByVal Relation As esriSpatialRelationExEnum _
) As Boolean
public bool WithinEx (
    IGeometry pOther,
    esriSpatialRelationExEnum Relation
);

Inherited Interfaces

Interfaces Description
IRelationalOperator Provides access to members that determine if a certain spatial relationship exists between two geometries.

Classes that implement IRelationalOperator2

Classes Description
Envelope A rectangle with sides parallel to a coordinate system defining the extent of another geometry; optionally has min and max measure, height and ID attributes.
MultiPatch A collection of surface patches.
Multipoint An ordered collection of points; optionally has measure, height and ID attributes.
Point A two dimensional point, optionally with measure, height, and ID attributes.
Polygon A collection of rings ordered by their containment relationship; optionally has measure, height and ID attributes.
Polyline An ordered collection of paths; optionally has measure, height and ID attributes.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.