Difference

Returns a geometry representing the points in the selected geometry that are not in the specified other geometry.

 

JavaScript

 

Difference(

       otherGeometry)

 

C#

 

IGeometry Difference(

       IGeometry otherGeometry)

 

C++

 

HRESULT Difference(

       IGeometry* otherGeometry,

       IGeometry** pVal)

Parameters

otherGeometry

An IGeometry representing the other geometry.

Return Value

pVal

An IGeometry representing all the points in the selected geometry that are not in the other geometry.

Exceptions

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