# Tools and Metrics for 3D Surfaces and Objects

## Documentation for package ‘habtools’ version 1.1.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

cell_count_1d | Count filled cells in 1D
cell_count_2d | Count filled cells in 2D
cell_count_3d | Count filled cells 3D
centroid | Calculate the centroid of 3D points
circularity | Calculate circularity of a 2D shape
convexity | Calculate convexity of a 3D mesh
csf | Calculate mechanical shape factor
dem_crop | Crop DEM around points
dem_sample | Sample a random DEM with specified size from a larger DEM
dem_split | Split DEM into smaller tiles
dem_to_points | Transform DEM to 3D pointcloud of raster corners
detect_drop | Detect a sudden drop, edge, or overhang in a DEM
entropy | Entropy
entropy_1d | 1D Entropy
entropy_2d | 2D Entropy
entropy_3d | 3D entropy
extent | Calculate extent of a 3D object
fd | Calculate fractal dimension
fd_area | Calculate fractal dimension using the surface area method
fd_boxes | Calculate fractal dimension using the box counting method
fd_cubes | Calculate fractal dimension using the cube counting method
fd_diagnose | Diagnose fractal dimension
fd_hvar | Calculate fractal Dimension using the height variation method
fd_sd | Calculate fractal Dimension using the standard deviation method
horseshoe | Horseshoe reef
hr | Calculate height range
hvar | Calculate height variation in cells at different scales
mcap | Montipora capitata
mcap2 | Montipora capitata 2
mesh_to_2d | Transform 3D mesh into 2D outline
mesh_to_dem | Transform 3D mesh to DEM
mesh_to_points | Transform mesh to 3D point cloud
mid_find | Find midpoint of a DEM
packing | Calculate packing of 3D object
perimeter | Calculate perimeter of a 2D shape
planar | Calculates planar area of a mesh
rdh | Calculate rugosity, fractal dimension, and height for a DEM
rdh_theory | Calculate metric based on geometric plane equation
rg | Calculate rugosity
sa_triangle | Calculate surface area of triangle
scale_area | Re-scale mesh based on a fixed area
scale_volume | Re-scale mesh based on a fixed volume of 1
set_origin | Set the origin of a mesh
sim_circle | Simulate a circle
sim_dem | Simulates a fractal DEM
sma | Calculate second moment of area
smv | Calculate second moment of volume
sphericity | Calculate sphericity of a 3D object
surface_area | Calculate surface area
svol_triangle | Calculate signed volume of triangle
z | Extract mean depth or elevation of a DEM