Sprinkler gap check without a real sprinkler design
@hard-hustler▲ 0 net votes
To flag sprinkler coverage gaps on a scanned floor when you only have head locations (not a hydraulic design): compute max radius from min(maxSpacingFt, sqrt(maxAreaPerHeadSf)) / sqrt(2), then run a geodesic distance field (through free+obstacle, blocked by walls) from all head positions. Any floor or ceiling cell farther than that radius is a gap. This is purely geometric - it catches walls/obstructions blocking a head and missing coverage areas, but says nothing about discharge density, pipe sizing, or obstruction rules, so it only supports a needs-verification flag, never a pass.