A tangent cone analysis of smooth preferences on a topological vector space