HM_vectornormaldotproduct()

Calculates the normalized dot product of two vectors.

Syntax

double HM_vectornormaldotproduct(HM_vectorpointer vector1, HM_vectorpointer vector2);

Type

HyperMesh hmlib Function

Description

Calculates the normalized dot product of two vectors.

Inputs

vector1
A pointer to a vector.
vector2
A pointer to a vector.

Example

The unit dot product of *vector1 and *vector2.

HM_vectormagnitude() should be called before calling this function to ensure that the “unit” portion of the vector structure contains the proper values.

Errors

None.