Package: habtools 1.0.7

Nina Schiettekatte

habtools: Tools and Metrics for 3D Surfaces and Objects

A collection of functions for sampling and simulating 3D surfaces and objects and estimating metrics like rugosity, fractal dimension, convexity, sphericity, circularity, second moments of area and volume, and more.

Authors:Joshua Madin [aut], Nina Schiettekatte [aut, cre]

habtools_1.0.7.tar.gz
habtools_1.0.7.zip(r-4.5)habtools_1.0.7.zip(r-4.4)habtools_1.0.7.zip(r-4.3)
habtools_1.0.7.tgz(r-4.4-any)habtools_1.0.7.tgz(r-4.3-any)
habtools_1.0.7.tar.gz(r-4.5-noble)habtools_1.0.7.tar.gz(r-4.4-noble)
habtools_1.0.7.tgz(r-4.4-emscripten)habtools_1.0.7.tgz(r-4.3-emscripten)
habtools.pdf |habtools.html
habtools/json (API)
NEWS

# Install 'habtools' in R:
install.packages('habtools', repos = c('https://jmadinlab.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jmadinlab/habtools/issues

Datasets:

On CRAN:

6.30 score 12 stars 9 scripts 196 downloads 45 exports 46 dependencies

Last updated 8 days agofrom:11ec6596ca. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 18 2024
R-4.5-winOKNov 18 2024
R-4.5-linuxOKNov 18 2024
R-4.4-winOKNov 18 2024
R-4.4-macOKNov 18 2024
R-4.3-winOKNov 18 2024
R-4.3-macOKNov 18 2024

Exports:%>%cell_count_1dcell_count_2dcell_count_3dcentroidcircularityconvexitycsfdem_cropdem_sampledem_splitdem_to_pointsdetect_dropextentfdfd_areafd_boxesfd_cubesfd_diagnosefd_hvarfd_sdhrhvarmesh_to_2dmesh_to_demmesh_to_pointsmid_findpackingperimeterplanarrdhrdh_theoryrgsa_trianglescale_areascale_volumeset_originsim_circlesim_demsmasmvsphericitysurface_areasvol_trianglez

Dependencies:abindclassclassIntcliconcavemancurlDBIdplyre1071fansigenericsgeometrygluejsonliteKernSmoothlatticelifecyclelinproglpSolvemagicmagrittrMASSpillarpkgconfigproxypurrrR6rasterRcppRcppArmadilloRcppEigenRcppProgressrlangRvcgs2sfspterratibbletidyselectunitsutf8V8vctrswithrwk

Complexity metrics for 3D meshes

Rendered frommesh_intro.Rmdusingknitr::rmarkdownon Nov 18 2024.

Last update: 2024-03-01
Started: 2023-05-25

Complexity metrics for DEMs

Rendered fromDEM_intro.Rmdusingknitr::rmarkdownon Nov 18 2024.

Last update: 2024-02-27
Started: 2023-05-23

Fractal dimension methods

Rendered fromfractal_intro.Rmdusingknitr::rmarkdownon Nov 18 2024.

Last update: 2024-02-27
Started: 2024-01-19

Readme and manuals

Help Manual

Help pageTopics
Count filled cells in 1Dcell_count_1d
Count filled cells in 2Dcell_count_2d
Count filled cells 3Dcell_count_3d
Calculate the centroid of 3D pointscentroid
Calculate circularity of a 2D shapecircularity
Calculate convexity of a 3D meshconvexity
Calculate mechanical shape factorcsf
Crop DEM around pointsdem_crop
Sample a random DEM with specified size from a larger DEMdem_sample
Split DEM into smaller tilesdem_split
Transform DEM to 3D pointcloud of raster cornersdem_to_points
Detect a sudden drop, edge, or overhang in a DEMdetect_drop
Calculate extent of a 3D objectextent
Calculate fractal dimensionfd
Calculate fractal dimension using the surface area methodfd_area
Calculate fractal dimension using the box counting methodfd_boxes
Calculate fractal dimension using the cube counting methodfd_cubes
Diagnose fractal dimensionfd_diagnose
Calculate fractal Dimension using the height variation methodfd_hvar
Calculate fractal Dimension using the standard deviation methodfd_sd
Horseshoe reefhorseshoe
Calculate height rangehr
Calculate height variation in cells at different scaleshvar
Montipora capitatamcap
Montipora capitata 2mcap2
Transform 3D mesh into 2D outlinemesh_to_2d
Transform 3D mesh to DEMmesh_to_dem
Transform mesh to 3D point cloudmesh_to_points
Find midpoint of a DEMmid_find
Calculate packing of 3D objectpacking
Calculate perimeter of a 2D shapeperimeter
Calculates planar area of a meshplanar
Calculate rugosity, fractal dimension, and height for a DEMrdh
Calculate metric based on geometric plane equationrdh_theory
Calculate rugosityrg
Calculate surface area of trianglesa_triangle
Re-scale mesh based on a fixed areascale_area
Re-scale mesh based on a fixed volume of 1scale_volume
Set the origin of a meshset_origin
Simulate a circlesim_circle
Simulates a fractal DEMsim_dem
Calculate second moment of areasma
Calculate second moment of volumesmv
Calculate sphericity of a 3D objectsphericity
Calculate surface areasurface_area
Calculate signed volume of trianglesvol_triangle
Extract mean depth or elevation of a DEMz