ptOnSeg: Determine if coordinates are on a line segment (Deprecated)

View source: R/geom_dist.R

ptOnSegR Documentation

Determine if coordinates are on a line segment (Deprecated)

Description

This function has been renamed to coords_onseg.

Usage

ptOnSeg(coords, l, d.t = 0)

Arguments

coords

A Nx3 matrix-like object with point coordinates, one per row.

l

A 2x3 matrix-like object with coordinates defining a line segment, one coordinate per row.

d.t

(optional) Tolerance value for distance from the line segment; useful to deal with floating point precision errors. Default is 0.

Details

[Deprecated]

Value

A boolean vector indicating, for each input coordinate, whether they lie on the given line segment

Author(s)

Cornel M. Pop


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