Gimp.Vector2.prototype.inner_product
function inner_product(vector2: Gimp.Vector2): Number(gdouble) {
// Gjs wrapper for gimp_vector2_inner_product()
}
Computes the inner (dot) product of two 2D vectors. This product is zero if and only if the two vectors are orthogonal.
- vector2
a pointer to the second Gimp.Vector2.
- Returns
The inner product.