Make methods asTriangles static.
Add methods to get dimensions of table.