On the Collapse Structure of an Attached Cavity on a Three-Dimenisonal Hydrofoil