Package: centerline 0.2.1
centerline: Extract Centerline from Closed Polygons
Generates skeletons of closed 2D polygons using Voronoi diagrams. It provides methods for 'sf', 'terra', and 'geos' objects to compute polygon centerlines based on the generated skeletons. Voronoi, G. (1908) <doi:10.1515/crll.1908.134.198>.
Authors:
centerline_0.2.1.tar.gz
centerline_0.2.1.zip(r-4.5)centerline_0.2.1.zip(r-4.4)centerline_0.2.1.zip(r-4.3)
centerline_0.2.1.tgz(r-4.4-any)centerline_0.2.1.tgz(r-4.3-any)
centerline_0.2.1.tar.gz(r-4.5-noble)centerline_0.2.1.tar.gz(r-4.4-noble)
centerline_0.2.1.tgz(r-4.4-emscripten)centerline_0.2.1.tgz(r-4.3-emscripten)
centerline.pdf |centerline.html✨
centerline/json (API)
NEWS
# Install 'centerline' in R: |
install.packages('centerline', repos = c('https://atsyplenkov.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/atsyplenkov/centerline/issues
Last updated 10 days agofrom:c47167e33a. Checks:OK: 3 NOTE: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 13 2024 |
R-4.5-win | OK | Nov 13 2024 |
R-4.5-linux | OK | Nov 13 2024 |
R-4.4-win | NOTE | Nov 13 2024 |
R-4.4-mac | NOTE | Nov 13 2024 |
R-4.3-win | NOTE | Nov 13 2024 |
R-4.3-mac | NOTE | Nov 13 2024 |
Exports:cnt_pathcnt_path_guesscnt_skeletongeom_cntgeom_cnt_labelgeom_cnt_text
Dependencies:backportscheckmateclassclassIntclicpp11crayonDBIdplyre1071fansigenericsgeometriesgeosglueigraphKernSmoothlatticelibgeoslifecyclelwgeommagrittrMASSMatrixpillarpkgconfigproxypurrrR6Rcpprlangs2sfsfheaderssfnetworksstringistringrtibbletidygraphtidyrtidyselectunitsutf8vctrswithrwk
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Find the shortest path between start and end points within a polygon | cnt_path |
Guess polygon's centerline | cnt_path_guess |
Create a skeleton of a closed polygon object | cnt_skeleton |
Plot centerline with ggplot2 | geom_cnt |
Plot label or text on centerline with ggplot2 | geom_cnt_label geom_cnt_text |