dot-collin.check: Silly collinearity check function

.collin.checkR Documentation

Silly collinearity check function

Description

A silly collinearity check auxiliary function.

Usage

.collin.check(c, lms, thresh = NA)

Arguments

c

An 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.

thresh

A numeric threshold, given in mesh units, specifying the threshold distance below which points will be considered colinear. If NA (default), only strict colinearity will be tested.

Value

Boolean indicating whether the points are collinear (True) or not False).

TODO

Document better and write unit test?

Author(s)

Cornel M. Pop


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