Intersects

Returns TRUE if the interior or boundary of the selected geometry intersects the interior or boundary of the other geometry.

 

JavaScript

 

Intersects(

       otherGeometry)

 

C#

 

bool Intersects(

       IGeometry otherGeometry)

 

C++

 

HRESULT Intersects(

       IGeometry* otherGeometry,

       VARIANT_BOOL* pVal)

Parameters

otherGeometry

An IGeometry representing the geometry being checked for intersection with the selected geometry.

Return Value

pVal

A Boolean that indicates whether the geometries intersect. Returns TRUE if the two geometries intersect.

Exceptions

See:  HRESULT Return Values for a list of possible values returned by the HRESULT.