changed Object::intersect return type to IntersectType enum