points_from_roi: points_from_roi

View source: R/utils.R

points_from_roiR Documentation

points_from_roi

Description

Extract points within given bounding box. Points are translated so that (0,0,0) correspond to the bounding box corner defined by roi['min',c('x','y','z')]

Usage

points_from_roi(points, roi)

Arguments

points

a point set as a data frame of coordinates with columns x,y,z.

roi

a data frame with columns x,y,z and rows min and max defining a bounding box

Value

a data frame with same columns as input


LOMAR documentation built on March 18, 2022, 6:05 p.m.