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 planeUsage
cutMeshPlane(mesh, v1, v2 = NULL, v3 = NULL, normal = NULL,
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
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
Value
- mesh with part above/below hyperplane removed