52 double b0[3],
double b1[3], int8_t isrid,
double v[3])
55 double ux,uy,uz,*n1,*n2,*t,ps1,ps2;
60 ux = p1->
c[0] - p0->
c[0];
61 uy = p1->
c[1] - p0->
c[1];
62 uz = p1->
c[2] - p0->
c[2];
72 ps1 = t[0]*ux + t[1]*uy + t[2]*uz;
85 ps1 = -(t[0]*ux + t[1]*uy + t[2]*uz);
103 ps1 = v[0]*n1[0] + v[1]*n1[1] + v[2]*n1[2];
104 ps2 = v[0]*n2[0] + v[1]*n2[1] + v[2]*n2[2];
113 ps1 = ux*n1[0] + uy*n1[1] + uz*n1[2];
117 ps1 = ux*n1[0] + uy*n1[1] + uz*n1[2];
133 ps1 = -(v[0]*n1[0] + v[1]*n1[1] + v[2]*n1[2]);
134 ps2 = -(v[0]*n2[0] + v[1]*n2[1] + v[2]*n2[2]);
135 if ( fabs(ps2) < fabs(ps1) ) {
143 ps1 = -(ux*n1[0] + uy*n1[1] + uz*n1[2]);
147 ps1 = -(ux*n1[0] + uy*n1[1] + uz*n1[2]);
void MMG5_bezierEdge(MMG5_pMesh mesh, MMG5_int i0, MMG5_int i1, double b0[3], double b1[3], int8_t isrid, double v[3])
Structure to store vertices of an MMG mesh.