/* */ public static double rayToSegment(Point3d rayorig, Vector3d raydir, Point3d segstart, Point3d segend, Point3d rayint, Point3d segint, double[] param)
/* */ {
/* 84 */ Vector3d diff = new Vector3d();
/* 85 */ diff.sub(rayorig, segstart);
/* 86 */ Vector3d segdir = new Vector3d();
/* 87 */ segdir.sub(segend, segstart);
/* */
/* 92 */ double A = raydir.dot(raydir);
/* 93 */ double B = -raydir.dot(segdir);
/* 94 */ double C = segdir.dot(segdir);
/* 95 */ double D = raydir.dot(diff);