ArcObjects Library Reference  (Geometry)    

IGeometryServer.Simplify Method

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

[Visual Basic 6.0]
Function Simplify(
    ByVal pSR As ISpatialReference, _
    ByVal pInGeometries As IGeometryArray _
) As IGeometryArray
[Visual Basic .NET]
Public Function Simplify ( _
    ByVal pSR As ISpatialReference, _
    ByVal pInGeometries As IGeometryArray _
) As IGeometryArray
[C#]
public IGeometryArray Simplify (
    ISpatialReference pSR,
    IGeometryArray pInGeometries
);
[Java]
public IGeometryArray simplify (
    ISpatialReference pSR,
    IGeometryArray pInGeometries
)
throws
    IOException,
    AutomationException
[C++]
HRESULT Simplify(
  ISpatialReference* pSR,
  IGeometryArray* pInGeometries,
  IGeometryArray** ppSimplifiedGeometries
);
[C++]

Parameters

pSR

  pSR is a parameter of type ISpatialReference

pInGeometries

  pInGeometries is a parameter of type IGeometryArray

ppSimplifiedGeometries [out, retval]

  ppSimplifiedGeometries 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. Polylines are simplified using the SimplifyNetwork method.

 

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

See Also

IGeometryServer Interface