LineSubdivided

ABSTRACT

The LineSubdivided operation involves replacing each line in a line mesh with some integer N lines.

PARAMETERS
meshRepresents the mesh-tree containing the line segments to be subdivided. All provided line meshes will undergo subdivision.
rootThe root of the mesh-tree, serving as the container for mesh selection.
tag_predicate(tag)Determines whether a line mesh should be included in the subdivision operation based on the provided tag.
factorSpecifies the factor by which the line segments will be subdivided. Higher factor values indicate more subdivisions and increased line resolution. In particular, each line will be replaced by factor lines.
RETURN

If the complete mesh set is provided, all line meshes will be individually subdivided, and the return value is the mesh-tree of all the subdivided meshes. However, if only a subset is chosen, the returned value will comprise a mesh-tree of the subdivided selected line meshes, while the unselected meshes will remain unchanged. Crucially, all line meshes you didn't select will still be included in the result mesh_tree, but be provided as is (i.e. no subdivision).

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