compute_facets_normal: compute_facets_normal

View source: R/funzioni.R

compute_facets_normalR 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)


JFM documentation built on March 28, 2022, 9:12 a.m.