I am trying to learn something. I found some code but donot understand what it trying to say.
double a = cross(ev2->v - ev1->v, v->v - ev1->v).length2();
double b = (ev2->v - ev1->v).length2();
if (a < b * carve::EPSILON2)
{
// vertex-edge intersection
}
ev1,ev2 are edges and ev1->v,ev2->v is vector while v is another vector. I completely donot not understand what this sentence make sense.
It try to find intersection between edge and verter but how ? Anyone can explain better ?












