pub fn local_hlr_mm_to_board_nm(
lx_mm: f64,
ly_mm: f64,
origin_nm: CoordNm,
comp_rot_deg: f64,
is_bottom: bool,
) -> CoordNmExpand description
Map a Geometer local HLR point in millimetres (+Y up camera) into +Y-up board nanometres.
For top views (dir = +Z, up = +Y), camera right is +X.
For bottom views (dir = -Z, up = +Y), camera right is -X, so lx_mm is negated
before applying the footprint’s board rotation and origin translation.