Learn R Programming

rTLS (version 0.2.3)

min_distance: Minimum Distance Between Points

Description

Estimate the minimum distance between points in a point cloud.

Usage

min_distance(cloud, threads = 1L)

Arguments

cloud

A data.table with *XYZ* coordinates in the first three columns representing a point cloud.

threads

An integer specifying the number of threads to use for parallel processing. Experiment to see what works best for your data on your hardware.

Value

A numeric vector describing the minimum distance between points.

Examples

Run this code
# NOT RUN {
data("pc_tree")

#Estimate the minimum distance of a sample o 100 points
min_distance(pc_tree)

# }

Run the code above in your browser using DataLab