Lines Matching refs:crossProd
256 S2Point ab = S2Point.crossProd(a, b); in simpleCrossing()
257 S2Point cd = S2Point.crossProd(c, d); in simpleCrossing()
289 S2Point x = S2Point.crossProd(S2Point.add(b, a), S2Point.sub(b, a)); in robustCrossProd()
389 S2Point ab = S2Point.crossProd(a, b); in girardArea()
390 S2Point bc = S2Point.crossProd(b, c); in girardArea()
391 S2Point ac = S2Point.crossProd(a, c); in girardArea()
459 double sina = S2Point.crossProd(b, c).norm(); in trueCentroid()
460 double sinb = S2Point.crossProd(c, a).norm(); in trueCentroid()
461 double sinc = S2Point.crossProd(a, b).norm(); in trueCentroid()
471 return new S2Point(0.5 * S2Point.crossProd(y, z).dotProd(r), in trueCentroid()
472 0.5 * S2Point.crossProd(z, x).dotProd(r), 0.5 * S2Point.crossProd(x, y).dotProd(r)); in trueCentroid()
498 return S2Point.crossProd(c, a).dotProd(b) > 0; in simpleCCW()
529 return robustCCW(a, b, c, S2Point.crossProd(a, b)); in robustCCW()
625 sign = S2Point.crossProd(vab, vca).dotProd(a) * sab; // BC is longest in expensiveCCW()
628 sign = S2Point.crossProd(vca, vbc).dotProd(c) * sca; // AB is longest in expensiveCCW()
633 sign = S2Point.crossProd(vbc, vab).dotProd(b) * sbc; // CA is longest in expensiveCCW()
636 sign = S2Point.crossProd(vca, vbc).dotProd(c) * sca; // AB is longest in expensiveCCW()
680 sign = a.crossProd(vab) * sab; in planarCCW()
682 sign = vab.crossProd(b); in planarCCW()
749 return S2Point.crossProd(a, b).angle(S2Point.crossProd(c, b)); in angle()
767 double outAngle = S2Point.crossProd(b, a).angle(S2Point.crossProd(c, b)); in turnAngle()