vcgBorder: find all border vertices and faces of a triangular mesh

Description Usage Arguments Value Author(s) See Also Examples

Description

Detect faces and vertices at the borders of a mesh and mark them.

Usage

1
vcgBorder(mesh)

Arguments

mesh

triangular mesh of class "mesh3d"

Value

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.

Author(s)

Stefan Schlager

See Also

vcgPlyRead

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)


Search within the Rvcg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.