Representing surfaces using manifolds.