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


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

IGeometryServer.Simplify Method

Applies the ArcObjects 'Simplify' operation to each element of the geometry array.

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

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

Product Availability

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

Remarks

Applies the ArcObjects geometric simplification operation to a copy of each geometry in the input array, placing the result in ppSimplifiedGeometries. The input geometries are assumed to be specified in the input spatial reference pSR, which cannot be nil. The elements can be a mixture of points, multipoints, polylines or polygons. Elements that can’t be simplifed are replaced with empty geometries of the same type at the corresponding index entry in the output array.

Refer to IGeometryServer for additional details on how the input spatial reference is interpreted.

This operation uses the coordinate grid and the xy and z cluster tolerances of the spatial reference. For more information on these properties and how they can affect your coordinates, please refer to the ESRI whitepaper “Understanding Coordinate Management in the Geodatabase”: http://support.esri.com/index.cfm?fa=knowledgebase.whitepapers.viewPaper&PID=43&MetaID=1301

 

Simplify alters the input geometry making its definition "topologically legal" with respect to its geometry type:
 

Simplify2

 

See Also

IGeometryServer Interface