From two projections to the Local Index Theorem