powered by
returns the row indexes of the neighbour facets of a target facet (nested in findNeighbourFacets R function)
find_triangles_rcpp(indici_tr, r)
returns the row indexes of the neighbour facets of the facet at r row of indici_tr facet indexes matrix
r
indici_tr
matrix of facets ID the "it" property of a mesh3D
index of the row of the target facet
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)
Run the code above in your browser using DataLab