From natural geometry to spatial cognition.