Lines Matching refs:sN
220 cmsFloat64Number sc, sN, sD; in ClosestLineToLine() local
238 sN = 0.0; // force using point P0 on segment S1 in ClosestLineToLine()
245 sN = (b*e - c*d); in ClosestLineToLine()
248 if (sN < 0.0) { // sc < 0 => the s=0 edge is visible in ClosestLineToLine()
250 sN = 0.0; in ClosestLineToLine()
254 else if (sN > sD) { // sc > 1 => the s=1 edge is visible in ClosestLineToLine()
255 sN = sD; in ClosestLineToLine()
266 sN = 0.0; in ClosestLineToLine()
268 sN = sD; in ClosestLineToLine()
270 sN = -d; in ClosestLineToLine()
280 sN = 0; in ClosestLineToLine()
282 sN = sD; in ClosestLineToLine()
284 sN = (-d + b); in ClosestLineToLine()
289 sc = (fabs(sN) < MATRIX_DET_TOLERANCE ? 0.0 : sN / sD); in ClosestLineToLine()