Returns a new Polyline based on an input Polyline with geometrical correctness rules applied.

Namespace:  ESRI.ArcGISExplorer.Geometry
Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)

Syntax

C#
public static Polyline Simplify(
	Polyline polyline
)
Visual Basic (Declaration)
Public Shared Function Simplify ( _
	polyline As Polyline _
) As Polyline

Parameters

polyline
Type: ESRI.ArcGISExplorer.Geometry..::.Polyline
The Polyline to copy and apply geometrical correctness rules to.

Return Value

A new Polyline.

Remarks

Geometrical shapes have constraints on their shapes. For example, a Polygon object only represents a valid polygon shape if it has closed rings that clearly define the interior and exterior of the shape. If all constraints are met, a geometry is considered to be "simple." If not met, the geometry is "non-simple."

Some GeometryOperations require geometries to be simple or they cannot proceed; for example, the Union operation relies on geometrical shapes to be valid and simple to calculate the shape's Union regions. In such cases, the GeometryOperations class ensures simplicity of inputs internally without the developer needing to perform this simplification; the input geometry is always left unchanged. However, you may need to use the Simplify method when looking at the spatial properties of a shape; for example, a non-simple Polygon might return an invalid value for its Area because the shape of the Polygon is not defined correctly; therefore, it cannot have a correct Area value.

For more information on the details of the Simplify method, refer to the ArcGIS Desktop developer help at

Examples

See Also

Relate Topics:
  Simplify Method (Geometry)
  Simplify Method (Multipoint)
  Simplify Method (Polygon)
Created by Atop CHM to web converter,© 2009 all right reserved.