mesh_width

ABSTRACT

Computes the width of the selected meshes within the provided mesh-tree.

PARAMETERS
meshIncludes all meshes within the mesh-tree in calculating the width.
rootSpecifies the container mesh-tree from which meshes are chosen for width calculation.
tag_predicate(tag)Determines if a mesh with the provided tag contributes to the width calculation.
RETURN

Computes the width of the selected meshes, which is the difference between the rightmost and leftmost x-coordinates.

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