Lines Matching refs:dotProd
258 double acb = -ab.dotProd(c); in simpleCrossing()
259 double cbd = -cd.dotProd(b); in simpleCrossing()
260 double bda = ab.dotProd(d); in simpleCrossing()
261 double dac = cd.dotProd(a); in simpleCrossing()
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()
552 double det = aCrossB.dotProd(c); in robustCCW()
607 double sab = (a.dotProd(b) > 0) ? -1 : 1; in expensiveCCW()
608 double sbc = (b.dotProd(c) > 0) ? -1 : 1; in expensiveCCW()
609 double sca = (c.dotProd(a) > 0) ? -1 : 1; in expensiveCCW()
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()
674 double sab = (a.dotProd(b) > 0) ? -1 : 1; in planarCCW()