calculate_joints {JFM}R Documentation

calculate_joints

Description

This function calculates joint orientation with the least square method selecting vertexes of each facet plane

Usage

calculate_joints(vertici_tr, indici_tri, normal_from_wild)

Arguments

vertici_tr

list of facets vertexes coordinates ("vb property of mesh3d object")

indici_tri

list of facets indexes ("it property of mesh3d object")

normal_from_wild

matrix of data resulting from wildfire search

Value

a matrix of least square plane for each joint

Examples

## Not run: 

mesh3d<-build_3d_mesh(path2myXYZRGBtxt,0.5,file_name)

normali_recalc<-Rcpp_wildfire_search(7,normals[,1:3],neighbours)

joint_list_Cpp<-calculate_joints(mesh3d,normali_recalc)
## End(Not run)


[Package JFM version 1.0 Index]