# Rock Mass Structural Analysis from 3D Mesh of Point Cloud

## Documentation for package ‘JFM’ version 1.0

- DESCRIPTION file.

## Help Pages

JFM-package | JFM: A package for structural analysis.
build_3d_mesh | build_3d_mesh
calculate_joints | calculate_joints
calculate_joints_area | calculate_joints_area
compute_facets_normal | compute_facets_normal
compute_plane_area_rcpp | returns the sum of the area of facets belonging to the same plane
compute_plane_normal | returns the least square plane from the vertexes of facets of the same plane (nested in calculate_joints function)
compute_triangle_area_rcpp | returns the area of a mesh facet
findNeighbourFacets | findNeighbourFacets
find_neighbours_rcpp | This function finds the rows IDs of neighbours of each mesh facet. It requires a list of facets indexes corresponding to the "it" property of mesh3d object
find_triangles_rcpp | returns the row indexes of the neighbour facets of a target facet (nested in findNeighbourFacets R function)
JFM | JFM: A package for structural analysis.
least_square_plane_rcpp | returns the coefficients of the least square plane and the relative mean square error
plotrand_col_planes | plotrand_col_planes
plot_joint_great_circles | plot_joint_great_circles
plot_joint_poles | plot_joint_poles
plot_maxima2mesh | plot_maxima2mesh
rcpparma_dotproduct | returns the inner product of ab and ac
rcpp_crossProd | returns the outer product of ab and ac
Rcpp_wildfire_search | 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