Scene object path whose local frame contains front, or null when its positions are already in world space; copied unchanged to every mark.
The depth axis used by the measurement; each back endpoint subtracts witness.gap along this axis.
Borrowed packed xyz metre positions of the exact front mesh measured by the witnesses; no index or normal buffer is needed.
Inspection path prefix; output paths append /clearance/
Borrowed measurement witnesses in output mark order, including clear ones; empty produces no marks. Gaps and barycentric weights must remain compatible with front.
Witnesses and frame identity for mesh-clearance inspection marks: one segment per witness from its point on the front surface to the matching point on the back surface, flagged where the back lies in front.
A witness's front point is its front triangle's vertices weighted by its barycentric weights, and its back point is that point moved
gapmetres back along the measured axis, because the gap is the front depth minus the back depth there. Each becomes a segment of kindclearance, labelclearance witness, colour yellow-green9acd32, at path<path>/clearance/<ordinal>, flagged when its gap is negative. Coordinates are those of the meshes, which share one frame;anchornames the scene object that frame belongs to, or null for world space.It throws for a witness that names a vertex outside the front mesh or does not hold three vertices and three weights.