vcgBorder | R Documentation |
Detect faces and vertices at the borders of a mesh and mark them.
vcgBorder(mesh)
mesh |
triangular mesh of class "mesh3d" |
bordervb |
logical: vector containing boolean value for each vertex, if it is a border vertex. |
borderit |
logical: vector containing boolean value for each face, if it is a border vertex. |
Stefan Schlager
vcgPlyRead
data(humface)
borders <- vcgBorder(humface)
## view border vertices
## Not run:
require(rgl)
points3d(t(humface$vb[1:3,])[which(borders$bordervb == 1),],col=2)
wire3d(humface)
require(rgl)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.