Simplify | R Documentation |
Simplify Geometry
Simplify segmentations by reducing the number of vertices
Simplify(coords, tol, topologyPreserve = TRUE)
## S3 method for class 'Spatial'
Simplify(coords, tol, topologyPreserve = TRUE)
coords |
A 'Segmentation' object |
tol |
Numerical tolerance value to be used by the Douglas-Peuker algorithm |
topologyPreserve |
Logical determining if the algorithm should attempt to preserve the topology of the original geometry |
A simplified version of coords
A 'Segmentation' object with simplified segmentation vertices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.