dot-check.mp.d: Test for distance between coordinate means and path midpoint

.check.mp.dR Documentation

Test for distance between coordinate means and path midpoint

Description

Test for distance between coordinate means and path midpoint.

Usage

.check.mp.d(c.res, lms)

Arguments

c.res

A NxK matrix-like object containing xyz point coordinates, one per row.

lms

A vector of length 3 containing the ids (row numbers) of the coordinates to use for the test.

Value

Distance between the midpoint of the path and the mean of the given coordinates, in mesh units.

TODO

document this function better, and write tests. Change parameter from c.res to coords, and lms to lm.id or something

Author(s)

Cornel M. Pop


cornelmpop/Lithics3D documentation built on Feb. 10, 2024, 11:54 p.m.