Rcpp_wildfire_search {JFM} | R Documentation |
returns a matrix with the 3 components of each face normal vector; the 4th column is the ID of the plane each facet belongs to the 5th colum the area of each facet
Description
returns a matrix with the 3 components of each face normal vector; the 4th column is the ID of the plane each facet belongs to the 5th colum the area of each facet
Usage
Rcpp_wildfire_search(tol_ang, list_of_normals, list_neighbours)
Arguments
tol_ang |
the maximum angle between facets normal belonging to the same plane |
list_of_normals |
the matrix of the components of each facet normal vector |
list_neighbours |
the matrix of facets ID neighbours of each target facet |
Value
the IDs of same joint facets given a tol_angle
between facets normal and 3Dmesh list_of_normals
and list_neighbours
Examples
## Not run: neighbours<-find_neighbours_rcpp(indici_tri)
normals<-compute_facets_normal(vertici_tr,indici_tri)
tol_ang<-7
normali_recalc<-Rcpp_wildfire_search(tol_ang,normals[,1:3],neighbours)
## End(Not run)
[Package JFM version 1.0 Index]