Union

Returns a geometry representing all the points in the selected geometry and specified other geometry.

 

JavaScript

 

Union(

       otherGeometry)

 

C#

 

IGeometry Union(

       IGeometry otherGeometry)

 

C++

 

HRESULT Union(

       IGeometry* otherGeometry,

       IGeometry** pVal)

Parameters

otherGeometry

An IGeometry representing the other geometry.

Return Value

pVal

An IGeometry representing all the points in both geometries.

Exceptions

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