Method

GimpVector3inner_product

Declaration [src]

gdouble
gimp_vector3_inner_product (
  const GimpVector3* vector1,
  const GimpVector3* vector2
)

Description [src]

Computes the inner (dot) product of two 3D vectors. This product is zero if and only if the two vectors are orthogonal.

Parameters

vector2

Type: GimpVector3

A pointer to the second GimpVector3.

The data is owned by the caller of the function.

Return value

Type: gdouble

The inner product.