Geometry of Crystals