Simplify: Simplify Geometry

View source: R/generics.R

SimplifyR Documentation

Simplify Geometry

Description

Simplify Geometry

Simplify segmentations by reducing the number of vertices

Usage

Simplify(coords, tol, topologyPreserve = TRUE)

## S3 method for class 'Spatial'
Simplify(coords, tol, topologyPreserve = TRUE)

Arguments

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

Value

A simplified version of coords

A 'Segmentation' object with simplified segmentation vertices


mojaveazure/seurat-object documentation built on Nov. 22, 2024, 11:36 p.m.