Learning Structured Representations For Geometry