Description Usage Arguments Value Examples
View source: R/runout_geometry.R
Determines min. area bounding box for a single or set of spatial polygons
1 |
x |
A SpatialPolygonsDataFrame |
A SpatialPolygonsDataFrame with corresponding bounding boxes
1 2 3 4 5 6 | file_nm <- system.file("extdata/dflow_runout_ply.shp", package="runout.opt")
slide_plys <- rgdal::readOGR(file_nm)
minbb <- minBBoxSpatialPolygons(slide_plys)
sp::plot(slide_plys)
sp::plot(minbb, add = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.