mesh_edge_set

ABSTRACT

Generates a set of edges from the provided mesh-tree, each edge represented as a pair of vertices.

PARAMETERS
meshSpecifies to take every single edge of every single mesh in the mesh-tree
rootSpecifies the container that holds the meshes for the operation.
tag_predicate(tag)Determines whether edges from a mesh should be included based on the provided tag.
RETURN

A set of edges extracted from the selected meshes, where each edge is represented by a pair of vertex indices. In particular, a vector of vector of 3-vector is return, where each subvector is of length 2 and represents an edge by its starting and ending vertices. The edges should be treated as undirected, and there may be duplicates.

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