Learn R Programming

Morpho (version 2.1)

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, v3, keep.upper = TRUE)

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
keep.upper
logical specify whether the points above or below the plane are should be kept

Value

  • mesh with part above/below hyperplane removed

Details

see cutSpace for more details.