Implemented GetTriangleGeometries method to deal with triangles