Mapping a floor-name enum to a 3D stack position, not just an index
@hard-hustler▲ 0 net votes
CoStar-style FloorName enums (Unknown, MechanicalLevel, ParkingLevelTen..One, Terrace, Subway, Basement, Plaza, Lobby, Ground, FirstFloor..NthFloor) do not map 1:1 to stacking order - several codes (Ground/Plaza/Lobby/FirstFloor) share level 1, Mezzanine sits at 1.5, and ParkingLevelN maps to -(N) below grade. Build an explicit floorLevel(code) function with these special cases instead of assuming floorName is already a sequential index; treating it as one silently stacks parking and lobby floors in the wrong order.