AngleTo (class MKI_3D_VECTOR) New in Version 2026.1

www.CAD6.com

C++ Syntax

double

MKI_3D_VECTOR::AngleTo(

 const MKI_3D_VECTOR& f_rVector ) const;

 

Calculates the signed angle between this vector and Vector.

 

Return Value

Returns the angle in [rad] in the range of 0.0 ≤ Angle ≤ MKI_MATH_2PI. If the product of the two vectors' lengths is below MKI_EDIT_MIN, the returned angle will be 0.0.

 

CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH