Updated BoxPrimitive::calc_signed_dist(.)