Topology and classical geometry in (2+1) gravity