Partially implemented triangulation.