This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometryServer2 Interface > IGeometryServer2.Union Method (ArcObjects .NET 10.4 SDK) |
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
This operation constructs the set-theoretic union of the geometries in the input array. All inputs must be of the same type.