Snapshot one resident surface for repeated strict mesh-crossing queries.
Every original target triangle, corner, ordinal and exact box is retained.
The target hierarchy and mean-extent ordering cell are prepared once. The
withPositions method creates independent snapshots of the same fixed index
layout by copying new world corners and refitting the original partition;
changed indices or position cardinality require a new factory call. Each
census reads the current first mesh in the same metre frame. Transforms are
caller-owned: moving a resident surface requires explicit current coordinates,
never a mutable mesh identity cache or an inverse local-space metric.
The callable reports the same first-triangle/candidate order as
measureAutoMovieMeshCrossings. Its crosses method runs the same predicates
and stops on an actual transverse or coplanar witness. Mere touching or a
shared corner alone supplies no witness; other edges may still cross.
The options' dimensionless
interior tolerance and transverse-point classifier may remove witnesses;
coplanar overlap bypasses the point classifier. Open surfaces need no volume
admission, and a clear report supplies no containment or swept certificate.
The unchanged numerical classification limits are a determinant/face-normal
cutoff of 1e-15 and coplanar plane distance below 1e-9. Construction and calls
refuse malformed indices or nonfinite positions; each call also refuses an
interior tolerance outside finite [0, 0.5). Empty surfaces are admitted and
return no crossings, while malformed query meshes still refuse.
Snapshot one resident surface for repeated strict mesh-crossing queries.
Every original target triangle, corner, ordinal and exact box is retained. The target hierarchy and mean-extent ordering cell are prepared once. The withPositions method creates independent snapshots of the same fixed index layout by copying new world corners and refitting the original partition; changed indices or position cardinality require a new factory call. Each census reads the current first mesh in the same metre frame. Transforms are caller-owned: moving a resident surface requires explicit current coordinates, never a mutable mesh identity cache or an inverse local-space metric.
The callable reports the same first-triangle/candidate order as measureAutoMovieMeshCrossings. Its crosses method runs the same predicates and stops on an actual transverse or coplanar witness. Mere touching or a shared corner alone supplies no witness; other edges may still cross. The options' dimensionless interior tolerance and transverse-point classifier may remove witnesses; coplanar overlap bypasses the point classifier. Open surfaces need no volume admission, and a clear report supplies no containment or swept certificate.
The unchanged numerical classification limits are a determinant/face-normal cutoff of 1e-15 and coplanar plane distance below 1e-9. Construction and calls refuse malformed indices or nonfinite positions; each call also refuses an interior tolerance outside finite [0, 0.5). Empty surfaces are admitted and return no crossings, while malformed query meshes still refuse.