Description of critical point nuclei within an energy-dependent geometric model