Implicit equation f(x,y)=0 of a triangle with arbitrary vertices