Geometric background of triangles