mesh_contains

ABSTRACT

Checks if a point lies withinthe selected meshes within the provided mesh-tree.

REMARK

This functional performs relatively poorly and may be inaccurate since it's hard to get right with epsilon checking

PARAMETERS
meshConsiders all meshes in the mesh-tree for containment check.
rootSpecifies the container mesh-tree where meshes are selected for containment check.
tag_predicate(tag)Determines if a mesh with the provided tag is included in the containment check.
pointThe point to check for containment within the selected meshes.
RETURN

Returns 1 or 0 indicating if the point lies within the selected meshes within the provided mesh-tree.

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