ArcObjects Library Reference (Geometry)  

ITopologicalOperator.Simplify Method

Makes this geometry topologically correct.

[Visual Basic .NET]
Public Sub Simplify ( _
)
[C#]
public void Simplify (
);
[C++]
HRESULT Simplify(
void
);

Product Availability

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

Description

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


The XY tolerance property of the geometry's associated spatial reference is used during the simplify operation for polylines and polygons.

Remarks

This method first looks at the ITopologicalOperator::IsKnownSimple flag before starting processing. If the flag is 'true' then operation is interrupted and the geometry is considered simple. If the flag is 'false' then the geometry consistency is checked and the geometry is updated as needed.

ITopologicalOperator methods must be applied on high-level geometries only. High-Level geometries are point, multipoint, polyline and polygon. To use this method with low-level geometries such as segments (Line, Circular Arc, Elliptic Arc, Bézier Curve), paths or rings, they must be wrapped into high-level geometries types.

Simplify Polygon Example

Simplify Polyline Example

Simplify Point Example

See Also

ITopologicalOperator Interface

.NET Samples

3D multipatch examples (Code Files: ExtrusionExamples)

.NET Related Topics

Creating custom symbols | How to create a multipoint | How to create a polygon | How to create a polyline | Simplifying a feature geometry | Working with the edit sketch