cropOutsideBBox: remove parts of a mesh outside a bounding box defined by...

View source: R/insideBBox.r

cropOutsideBBoxR Documentation

remove parts of a mesh outside a bounding box defined by another mesh

Description

remove parts of a mesh outside a bounding box defined by another mesh

Usage

cropOutsideBBox(mesh1, mesh2, extend = 0, pca = TRUE, outside = TRUE)

Arguments

mesh1

reference mesh of which the bounding box will be computed

mesh2

mesh to be cropped

extend

numeric: offset extending the bbox (or shrinking if negative)

pca

if TRUE, the box will be aligned by the principal axes.

outside

logical: if TRUE the part outside the box is removed

Value

returns the cropped mesh2


zarquon42b/mesheR documentation built on July 1, 2024, 1:54 p.m.