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


IGeometryServer2.Union Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

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,
  IGeometry** ppUnionedGeometry
);
[C++]

Parameters pSR
pSR is a parameter of type ISpatialReference pInGA
pInGA is a parameter of type IGeometryArray ppUnionedGeometry [out, retval]
ppUnionedGeometry is a parameter of type IGeometry

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