conststaticintNV=2;// the one u and v coordinate of the single vertex that is optimized. u1, v1
conststaticintNC=10;// the two other positions of the triangle u2, v2, u3, and v3, and the three reference positions of the triangle, x1, y1, x2, y2, x3, y3