habtools1.1.1 package

Tools and Metrics for 3D Surfaces and Objects

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_1d

1D Entropy

entropy_2d

2D Entropy

entropy_3d

3D entropy

entropy

Entropy

extent

Calculate extent of a 3D object

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

fd

Calculate fractal dimension

hr

Calculate height range

hvar

Calculate height variation in cells at different scales

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

pipe

Pipe operator

planar

Calculates planar area of a mesh

rdh_theory

Calculate metric based on geometric plane equation

rdh

Calculate rugosity, fractal dimension, and height for a DEM

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

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.

  • Maintainer: Nina Schiettekatte
  • License: MIT + file LICENSE
  • Last published: 2025-03-06