ScalProd3DStand (FUN)ΒΆ

FUNCTION ScalProd3DStand : LREAL

This function will calculate the cosine of the angle being drawn by two input vectors \(v_{1}, v_{2} \in \mathbb{R^{3}}\).

InOut:

Scope

Name

Type

Comment

Return

ScalProd3DStand

LREAL

If one of the input vector equals the null vector, 0 will be returned.

Input

pv1

POINTER TO Vector3d

Pointer to input vector \(v_{1} \in \mathbb{R}\)

pv2

POINTER TO Vector3d

Pointer to input vector \(v_{2} \in \mathbb{R}\)