mesh_direc

ABSTRACT

Calculates the extreme point in a given direction within a mesh-tree. More specifically, it calculates the dot product between that point and the given direction value.

PARAMETERS
meshIncludes all meshes within the mesh-tree in the direction calculation.
rootRepresents the container mesh-tree from which meshes are chosen for the direction calculation.
tag_predicate(tag)Determines if a mesh with the provided tag contributes to the direction calculation.
direcA vector specifying the direction in which to find the extreme point.
RETURN

Finds the dot product between the the most extreme point among the selected meshes and the direction (normalized). Thus, this function returns a scalar

DECLARATION
func mesh_direc([mesh_tree] {[full] {mesh}, [tag_pred] {root, tag_predicate(tag)}}, direc)