Measure

ABSTRACT

Generates a something that looks like a horizontal I-Beam measuring a specified mesh and with a matched width.

PARAMETERS
meshThe mesh-tree, the entirety of which will be used for this operation
rootThe root of the mesh-tree. This provides the container of all possible meshes we want to select from
tag_predicate(tag)For any given mesh in root, the user specifies whether or not the mesh should be surrounded by the measuring. The function is given the tag of the mesh in consideration. If a non zero value is returned then the mesh is included in calculating the measure size. Otherwise, it is ignored.
dirA 3-vector specifying the direction relative to the selected mesh to which the measure should be placed
tagA vector of numbers used as the result's tag
defaultAn enum branch specifying the default coloring scheme, a white fill with a stroke that has 0 opacity
strokeA 4-vector representing the color of the stroke
RETURN

a mesh-tree that gives the measure next to the selected mesh in the appropriate direction. The shape of the mesh-tree is unspecified.

DECLARATION
func Measure([mesh_tree] {[full] {mesh}, [tag_pred] {root, tag_predicate(tag)}}, dir, tag, [color] {[default] {}, [stroke] {stroke}})