Local intersections of plane algebraic curves