Skip to main content

Module interference

Module interference 

Source
Expand description

interference_report: which solids a part shows overlap — its own with each other, with those of the parts placed in it, and those between each other — by how much, and which only touch.

Structs§

Interference
Two solids that meet, named as the part shown names them.
InterferenceReport
Every pair of solids a part shows that overlap or touch; those apart are not listed.
Unchecked
A pair that could not be checked, and why.
Work
The work a report took: what the broad phase compared and what the narrow phase ran — counted, not timed (see AGENTS.md “Count the work”).

Enums§

Contact
How two solids meet.

Functions§

bounding_box
The box around the faces faces of solid: around their surfaces’ control points — each surface lies in their hull.
candidate_pairs
The pairs (i, j), i < j, of boxes that are not definitely apart, in order: found by sweeping along x — the boxes sorted by where they start, each compared only with those started before it that have not definitely ended — counting each comparison in compared.
interference_report
Which solids of the part reader reads — its own, and those of the parts placed in it, where they are — overlap, and by how much, and which only touch.

Type Aliases§

Box3
An axis-aligned box: each coordinate the interval it spans.