Snakes on a point cloud