dist2p3d {spatclus}R Documentation

Euclidian distance computation in 3D

Description

Computes the euclidian distance between two 3D point coordinates or between one point and a vector of points.

Usage

dist2p3d(x, y, z, x0, y0, z0)

Arguments

x X-coordinate of the second point or the vector of point
y Y-coordinate of the second point or the vector of point
z Z-coordinate of the second point or the vector of point
x0 X-coordinate of the first point
y0 Y-coordinate of the first point
z0 Z-coordinate of the first point

Value

dist The distance computed

Author(s)

Christophe Dematte{"i} demattei@iurc.montp.inserm.fr


[Package spatclus version 1.0-3 Index]