compute_facets_normal {JFM}R Documentation

compute_facets_normal

Description

This function returns a matrix of the three component vector of the normal of each facet.

Usage

compute_facets_normal(vertici_tr, indici_tri)

Arguments

vertici_tr

list of facets vertexes coordinates ("vb property of mesh3d object")

indici_tri

list of facets indexes ("it property of mesh3d object")

Value

matrix of the three component of the normal vector and area of each face

Examples

## Not run: indici_tri<-t(mesh3d[['it']])

vertici_tr<-t(mesh3d[["vb"]])

normals<-compute_facets_normal(vertici_tr,indici_tri)
## End(Not run)


[Package JFM version 1.0 Index]