Like quoin and coin, groin is an architectural term. A groin is the curved line where two intersecting vaults or arches meet. It's hard to describe in words, so here's a link to a picture of a groin vault.

http://www.pitt.edu/~medart/menuglossary/groinvault.htm