30 double xgarr[3] = {line->
x [0], line->
x [1], line->
x [2]}, xnarr[3];
31 double ngarr[3] = {line->
nx[0], line->
nx[1], line->
nx[2]}, nnarr[3];
38 t_3d_line local_line(TVector3(xnarr[0], xnarr[1], xnarr[2]),
39 TVector3(nnarr[0], nnarr[1], nnarr[2]));
42 t_3d_plane local_plane(TVector3(0,0,0), TVector3(0,0,1));
43 if (
cross_p_l(&local_plane, &local_line, vtx))
return -1;
51 for(
unsigned ipp=0; ipp<
dim; ipp++)
52 qdist[ipp] = coord[ipp] - hit->
_GetCoord(ipp);