Floor by outline error (closed loop)

if by planar you mean all the Z values are at the same level. yes, z = 0