dist_to_boundary {LOMAR}R Documentation

dist_to_boundary

Description

Given a point set and an alpha-shape, get the distance of each point to the closest boundary point of the alpha-shape. Points inside the shape get negative values.

Usage

dist_to_boundary(points, shape)

Arguments

points

a data frame with x,y,z columns

shape

an object of class ashape3d with a single alpha value

Value

vector of distances (negative values indicate points inside the shape)


[Package LOMAR version 0.4.0 Index]