Compute_Vector_Angle
Functions | |
double | Compute_Vector_Angle (const HC_POINT *vector, const HC_POINT *vector2) |
double | DCompute_Vector_Angle (const HC_DVECTOR *vector, const HC_DVECTOR *vector2) |
Similar to Compute_Vector_Angle(), but operates on double-precision data. More... | |
Detailed Description
Function Documentation
◆ Compute_Vector_Angle()
double Compute_Vector_Angle | ( | const HC_POINT * | vector, |
const HC_POINT * | vector2 | ||
) |
- Parameters
-
vector - Input 3D vector. vector2 - Input 3D vector.
- Returns
- value
DETAILS
Compute_Vector_Angle() returns the angle of a vector, in degrees. The angle will always be a positive number between 0 and 180.
NOTES
RESTRICTIONS
◆ DCompute_Vector_Angle()
double DCompute_Vector_Angle | ( | const HC_DVECTOR * | vector, |
const HC_DVECTOR * | vector2 | ||
) |
Similar to Compute_Vector_Angle(), but operates on double-precision data.
- Parameters
-
vector - Input 3D vector. vector2 - Input 3D vector.
- Returns
- value