euclidean_distance: Euclidean Distance Between 3D points

Description Usage Arguments Value Author(s) Examples

View source: R/euclidean_distance.R

Description

Estimate the distance between a point and a group of point.

Usage

1
euclidean_distance(point, cloud, threads = 1L)

Arguments

point

A numeric vector of length three describing the *XYZ* coordinates.

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 of point to each row of cloud.

Author(s)

J. Antonio Guzmán Q.

Examples

1
2
3
data("pc_tree")

euclidean_distance(point = c(0, 0, 0), pc_tree)

Antguz/rTLS documentation built on Dec. 14, 2021, 9:49 a.m.