cutMeshPlane | R Documentation |
cut a mesh by a hyperplane and remove parts above/below that plane
cutMeshPlane(mesh, v1, v2 = NULL, v3 = NULL, normal = NULL, keep.upper = TRUE)
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 |
see cutSpace
for more details.
mesh with part above/below hyperplane removed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.