Semialgebraic groups and generalized affine buildings | Synapse