find_triangles_rcpp {JFM}R Documentation

returns the row indexes of the neighbour facets of a target facet (nested in findNeighbourFacets R function)

Description

returns the row indexes of the neighbour facets of a target facet (nested in findNeighbourFacets R function)

Usage

find_triangles_rcpp(indici_tr, r)

Arguments

indici_tr

matrix of facets ID the "it" property of a mesh3D

r

index of the row of the target facet

Value

returns the row indexes of the neighbour facets of the facet at r row of indici_tr facet indexes matrix

Examples

indici_tri<-matrix(data = c(1, 2, 3 ,5, 6,
3, 2, 3, 5,7, 8 ,1),
nrow = 4,ncol = 3, byrow = TRUE)
row_index<-1
find_triangles_rcpp (indici_tri,row_index)

[Package JFM version 1.0 Index]