Learn R Programming

Morpho (version 2.12)

cutMeshPlane: cut a mesh by a hyperplane and remove parts above/below that plane

Description

cut a mesh by a hyperplane and remove parts above/below that plane

Usage

cutMeshPlane(mesh, v1, v2 = NULL, v3 = NULL, normal = NULL, keep.upper = TRUE)

Value

mesh with part above/below hyperplane removed

Arguments

mesh

triangular mesh of class "mesh3d"

v1

numeric vector of length=3 specifying a point on the separating plane

v2

numeric vector of length=3 specifying a point on the separating plane

v3

numeric vector of length=3 specifying a point on the separating plane

normal

plane normal (overrides specification by v2 and v3)

keep.upper

logical specify whether the points above or below the plane are should be kept

Details

see cutSpace for more details.