Intersection

Returns a geometry representing the points shared by this geometry and a specified other geometry.

 

JavaScript

 

Intersection(

       otherGeometry)

 

C#

 

IGeometry Intersection(

       IGeometry otherGeometry)

 

C++

 

HRESULT Intersection(

       IGeometry* otherGeometry,

       IGeometry** pVal)

Parameters

otherGeometry

An IGeometry representing the geometry that is being tested for intersection with the selected geometry.

Return Value

pVal

An IGeometry representing all the points shared by the geometries.

Exceptions

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