This document is archived and information here might be outdated.  Recommended version.


IGeometryServer2.Union Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometryServer2 Interface > IGeometryServer2.Union Method
ArcGIS Developer Help

IGeometryServer2.Union Method

Returns the topological union of the input geometries (uses ITopologicalOperator::ConstructUnion). The input geometries must have the same dimension (0d, 1d, 2d).

[Visual Basic .NET]
Public Function Union ( _
    ByVal pSR As ISpatialReference, _
    ByVal pInGA As IGeometryArray _
) As IGeometry
[C#]
public IGeometry Union (
    ISpatialReference pSR,
    IGeometryArray pInGA
);
[C++]
HRESULT Union(
  ISpatialReference* pSR,
  IGeometryArray* pInGA
);
[C++]
Parameters
pSR 

pSR is a parameter of type ISpatialReference* pInGA
pInGA is a parameter of type IGeometryArray*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

This operation constructs the set-theoretic union of the geometries in the input array. All inputs must be of the same type.

Union

See Also

IGeometryServer2 Interface