medial axis : regroup all straight rays into one class.