IRelationalOperator3D Interface

Provides access to members that determine if a certain spatial relationship exists between two geometries with Zs.

Description

This interface is new at ArcGIS 9.3.

Indicates whether two Z-Aware geometries intersect, sharing at least one point in common. In contrast to IRelationalOperator, Z values are taken into account when determining whether the given relationship exists.

Members

Name Description
Method Disjoint3D Indicates if the two geometries share no points in common. Negate this result to compute the Intersect relation.

IRelationalOperator3D.Disjoint3D Method

Indicates if the two geometries share no points in common. Negate this result to compute the Intersect relation.

Public Function Disjoint3D ( _
    ByVal pOther As IGeometry _
) As Boolean
public bool Disjoint3D (
    IGeometry pOther
);

Description

Determines whether two z aware geometries intersect in 3D space. Two geometries are disjoint if their intersection is empty. Two geometries intersect if disjoint is FALSE.

public static void TestIntersection()

          {

                  IGeometry  polylineGeometry = GetPolylineGeometry();

 

                 IGeometry  polygonGeometry = GetPolygonGeometry();

  

                IRelationalOperator3D relationalOperator3D = polylineGeometry as IRelationalOperator3D;



                 bool intersect = !(relationalOperator3D.Disjoint3D(polygonGeometry));

 

                 //intersect = true

         }

Classes that implement IRelationalOperator3D

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.

Remarks

These methods are intended to be called against top-level geometries only (Point, Multipoint, Polyline, Polygon, Envelope, MultiPatch). To call a method against a Segment/Path or Ring, first add the part to a Polyline or Polygon container, respectively, and then call the appropriate method against the container.These methods treat MultiPatch geometries as shell representations, where the interior is not considered part of the geometry. Consequently, a point situated inside a MultiPatch that does not touch one of its surfaces will be classified as disjoint from that MultiPatch.

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