An Edge-Based Interface-Tracking Method for Multiphase Flows