Whitney duality and singularities of projections