inner_product


Description:

public double inner_product (Vector3 vector2)

Computes the inner (dot) product of two 3D vectors.

This product is zero if and only if the two vectors are orthogonal.

Parameters:

this

a pointer to the first Vector3.

vector2

a pointer to the second Vector3.

Returns:

The inner product.