Searched refs:dotProduct (Results 1 – 4 of 4) sorted by relevance
68 public float dotProduct(Point a, Point b) { in dotProduct() method in Point87 float dotProduct = dotProduct(a, b); in getAngle() local88 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / dist2)); in getAngle()
44 float dotProduct = Vector3.dot(v1, v2); in testDot() local45 assertEquals(56f, dotProduct, TOLERANCE); in testDot()
101 const float dotProduct = ray1x * ray2x + ray1y * ray2y; in pointToLineSegSquaredDistanceFloat() local108 const float projectionLengthSqr = dotProduct / lineLengthSqr; in pointToLineSegSquaredDistanceFloat()
149 public static float dotProduct(float[] a, float[] b) { in dotProduct() method in GeometryMathUtils164 return dotProduct(a, b) / length; in scalarProjection()