Robust and flexible multi-scale medial axis computation