powered by
Estimate the distance between a point and a group of point.
euclidean_distance(point, cloud, threads = 1L)
A numeric vector describing of point to each row of cloud.
numeric
point
cloud
A numeric vector of length three describing the *XYZ* coordinates.
A data.table with *XYZ* coordinates in the first three columns representing a point cloud.
data.table
An integer specifying the number of threads to use for parallel processing. Experiment to see what works best for your data on your hardware.
integer
J. Antonio Guzmán Q.
data("pc_tree") euclidean_distance(point = c(0, 0, 0), pc_tree)
Run the code above in your browser using DataLab