code wiki / (root) / nx_anatomy_measure_test.nx

nx_anatomy_measure_test.nx

buildroot/runtime/nx_anatomy_measure_test.nx

2273 B70 linesdepth 6pulls 10 transitivereach 0 importersview sourcekind gate/prooftopic anatomy
docsdependenciesstructsconstsfunctions

about

Minimal smoke for nx_anatomy_measure primitives. Tests the cross-section math leaf-primitive only; full pipeline requires inline-in-main due to nxc2 codegen bug with multi-call composition.

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_image.nx nx_canon_proportions.nx nx_anatomy_measure.nx nx_anatomy_measure_test.nx

imports: nx_syscalls.nxnx_image.nxnx_canon_proportions.nxnx_anatomy_measure.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_image_alloc sys_mmap nx_image_set paint_row nx_image_set ↻ nx_mask_longest_run_at_y nx_image_get

structs

none

consts

none

functions

11func paint_row(mask: *Image, y: i64, x_center: i64, half_w: i64) -> i64
called by 1: main calls 1: nx_image_set
23func main() -> i64