Alters the input geometries to make their definitions topologically legal with respect to their geometry type.

Namespace:  ESRI.ArcGIS.VE
  (in ArcGISVE.exe)

Syntax

JScript
 function Simplify(
	geometries : array<VEShape>[]()[], 
	callback : Function
)

Parameters

geometries
Type: array<VEShape>[]()[]
Array of VEShape.
callback
Type: Function
Function that will handle response.

Remarks

Use this method to ensure that features you will add to the map or use for tasks are valid shapes in the topological sense. For example, a polygon that has crosses over itself, as in the example of a figure-eight, would not be topologically correct. To call this method, construct the VEShapes if necessary, then call the method, passing it the name of the callback function. Write the callback JavaScript function that will accept the returned VEShapes that have been simplified.

See Also