Settle the boundaries between polygons when they overlap by splitting both at the point where they touch. Works through intersection with the voronoi of the centroids.
Usage
# S4 method for class 'giottoPolygon'
settleGeom(x)
# S4 method for class 'SpatVector'
settleGeom(x)
Examples
svp <- GiottoData::loadSubObjectMini("giottoPolygon")[]
svp <- buffer(svp, 5)
plot(svp)
svp <- settleGeom(svp)
plot(svp)