The sine and cosine rules for triangles in Euclidean, spherical and hyperbolic spaces can be understood as invariants for triples of lines. These invariants are given in terms of the distance (both lengthwise and angular) between pairs of lines. There is also a converse statement. Suppose we are living in a complete Riemannian manifold of constant curvature. If a certain sine/cosine rule is satsifies by triples of lines, then we can determine the curvature.
I'm wondering if we can generalize these sine and cosine rules to arbitrary symmetric spaces. That is, give a triple of geodesics (or parallel submanifolds, if we consider higher dimensions), are there similar invariants? Perhaps these invariants will be given in terms of representations of the coset of symmetries take a geodesic to antoher.
It would also be great if these invariants can characterize the symmetric space we are living in, just like in the case of the constant curvature case.