Expand description
Set of functions used throughout assure the correctness of the library.
Functions§
- cde_
matches_ fresh - Checks that
cdematches a fresh copy ofbasewithdynamic_hazardsregistered: the same hazards, and an index that matches them. - hull_
indices_ match_ reference - Checks a transformed buffer’s hull indices against those recomputed from its reference.
- index_
matches_ hazards - Checks that the engine’s index holds exactly the bounding boxes of all hazards except the
exterior, sorted by
x_min, and that its chunk bounds are the largestx_maxof each chunk. - layout_
cde_ matches_ fresh - Checks that the layout’s engine holds the container’s hazards and those of its placed items.
- print_
layout - Prints code to rebuild a layout. Intended for debugging purposes.
- snapshot_
matches_ layout