# reduceGeometry operation

## Synopsis

reduceGeometry(tol)

## Parameters

- tol (float)

Controls the number of vertices which are going to be removed from the geometry. Valid values are in the range [0,1]. For instance, a value of 0.2 will reduce the vertex count of the geometry by 20%.

The reduceGeometry operation simplifies the geometry by applying a series of edge collapses.

## Related

- cleanupGeometry operation
- convexify operation
- innerRectangle operation
- mirror operation
- reverseNormals operation
- setNormals operation
- trim operation

## Examples

### Reducing a Terrain

*The picture above shows a shaded terrain mesh. Left: the original (16384 vertices, 16129 faces). Right: after reduceGeometry(0.8) (3276 vertices, 5066 faces).*

*Closeup of the terrain meshes from the prvious picture. Left original, right reduced.*

Copyright ©2008-2016 Esri R&D Center Zurich. All rights reserved.